From 0e0db3c80daddbc8258b203cecb430c6fe726d8e Mon Sep 17 00:00:00 2001 From: hotdogman Date: Wed, 14 Jan 2015 17:47:00 -0600 Subject: [PATCH] Update make-safari.sh --- tools/make-safari.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/make-safari.sh b/tools/make-safari.sh index 4e95e28f9..626afed8f 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."