|
@@ -45,9 +45,18 @@ case "$1" in
|
|
. ./bin/activate
|
|
. ./bin/activate
|
|
cd ../../build/firefox
|
|
cd ../../build/firefox
|
|
cfx xpi
|
|
cfx xpi
|
|
|
|
+ mv *.xpi ../
|
|
cd ../..
|
|
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"
|
|
echo "Usage: $0"
|
|
@@ -56,8 +65,9 @@ case "$1" in
|
|
echo " build Build SuperGlue clients"
|
|
echo " build Build SuperGlue clients"
|
|
echo " "
|
|
echo " "
|
|
echo " testFF Test Firefox add-on in sandboxed browser"
|
|
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 " "
|
|
echo "ATTENTION!! Call $0 only in root of the project directory!"
|
|
echo "ATTENTION!! Call $0 only in root of the project directory!"
|
|
echo " "
|
|
echo " "
|