aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-chromium.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-chromium.sh')
-rwxr-xr-xtools/make-chromium.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/make-chromium.sh b/tools/make-chromium.sh
index d5f1c95..cd5598e 100755
--- a/tools/make-chromium.sh
+++ b/tools/make-chromium.sh
@@ -22,4 +22,11 @@ cp platform/chromium/*.js $DES/js/
cp platform/chromium/manifest.json $DES/
cp LICENSE.txt $DES/
+if [ "$1" = all ]; then
+ echo "*** uBlock.chromium: Creating package..."
+ pushd $(dirname $DES/)
+ zip uBlock.chromium.zip -qr $(basename $DES/)/*
+ popd
+fi
+
echo "*** uBlock.chromium: Package done."