Procházet zdrojové kódy

added CRX packaging option

Danja Vasiliev před 9 roky
rodič
revize
67cfe0a651
19 změnil soubory, kde provedl 12 přidání a 2 odebrání
  1. 12 2
      glueIt
  2. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/__init__.pyc
  3. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/_version.pyc
  4. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/bunch.pyc
  5. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/manifest.pyc
  6. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/packaging.pyc
  7. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/preflight.pyc
  8. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/prefs.pyc
  9. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/rdf.pyc
  10. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/runner.pyc
  11. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/util.pyc
  12. binární
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/xpi.pyc
  13. binární
      tools/firefox-addon-sdk-1.16/python-lib/jetpack_sdk_env.pyc
  14. binární
      tools/firefox-addon-sdk-1.16/python-lib/mozrunner/__init__.pyc
  15. binární
      tools/firefox-addon-sdk-1.16/python-lib/mozrunner/killableprocess.pyc
  16. binární
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/__init__.pyc
  17. binární
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/decoder.pyc
  18. binární
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/encoder.pyc
  19. binární
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/scanner.pyc

+ 12 - 2
glueIt

@@ -45,9 +45,18 @@ case "$1" in
         . ./bin/activate
         cd ../../build/firefox
         cfx xpi
+        mv *.xpi ../
         cd ../..
         ;;
 
+    "pkgCH")
+        if [ ! -x $(which chromium) ]; then
+          echo "Chromium not found, can't build.."
+          exit 1
+        fi
+        echo "Packaging Chromium extension..."
+        chromium --pack-extension=./build/chromium
+        ;;
 
    *) 
         echo "Usage: $0"
@@ -56,8 +65,9 @@ case "$1" in
         echo "  build    Build SuperGlue clients"
         echo " "
         echo "  testFF   Test Firefox add-on in sandboxed browser"
-        echo "  pkgFF    Make Firefox add-on package (./build/SuperGlue.xpi)"
-        echo "  (----    To package Chromium extension, go there to chrome://extensions)" 
+        echo "  pkgFF    Make Firefox add-on package (./build/superglue.xpi)"
+        echo "  pkgCH    Make Chromium extension package (./build/superglue.crx)"
+ #       echo "  (----    To package Chromium extension, go there to chrome://extensions)" 
         echo " "
         echo "ATTENTION!! Call $0 only in root of the project directory!"
         echo " "

binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/__init__.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/_version.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/bunch.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/manifest.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/packaging.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/preflight.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/prefs.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/rdf.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/runner.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/util.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/xpi.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/jetpack_sdk_env.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/__init__.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/killableprocess.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/simplejson/__init__.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/simplejson/decoder.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/simplejson/encoder.pyc


binární
tools/firefox-addon-sdk-1.16/python-lib/simplejson/scanner.pyc