diff options
-rwxr-xr-x | tools/make-safari.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/make-safari.sh b/tools/make-safari.sh index 4e95e28..626afed 100755 --- a/tools/make-safari.sh +++ b/tools/make-safari.sh @@ -25,4 +25,11 @@ cp LICENSE.txt $DES/ echo "*** uBlock.safariextension: Generating meta..." python tools/make-safari-meta.py $DES/ +if [ "$1" = all ]; then + echo "*** uBlock.safariextension: Creating package..." + pushd $DES/ + zip ../uBlock.safari.safariextension -qr * + popd +fi + echo "*** uBlock.safariextension: Package done." |