Jelajahi Sumber

added CRX packaging option

Danja Vasiliev 9 tahun lalu
induk
melakukan
67cfe0a651
19 mengubah file dengan 12 tambahan dan 2 penghapusan
  1. 12 2
      glueIt
  2. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/__init__.pyc
  3. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/_version.pyc
  4. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/bunch.pyc
  5. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/manifest.pyc
  6. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/packaging.pyc
  7. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/preflight.pyc
  8. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/prefs.pyc
  9. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/rdf.pyc
  10. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/runner.pyc
  11. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/util.pyc
  12. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/xpi.pyc
  13. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/jetpack_sdk_env.pyc
  14. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/mozrunner/__init__.pyc
  15. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/mozrunner/killableprocess.pyc
  16. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/__init__.pyc
  17. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/decoder.pyc
  18. TEMPAT SAMPAH
      tools/firefox-addon-sdk-1.16/python-lib/simplejson/encoder.pyc
  19. TEMPAT SAMPAH
      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 " "

TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/__init__.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/_version.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/bunch.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/manifest.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/packaging.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/preflight.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/prefs.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/rdf.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/runner.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/util.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/xpi.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/jetpack_sdk_env.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/__init__.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/killableprocess.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/simplejson/__init__.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/simplejson/decoder.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/simplejson/encoder.pyc


TEMPAT SAMPAH
tools/firefox-addon-sdk-1.16/python-lib/simplejson/scanner.pyc