From f45ef767016a425d04cce7755b27aceff292603c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 24 Mar 2022 16:02:38 -0300 Subject: esbuild configuration --- packages/taler-wallet-webextension/pack.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-webextension/pack.sh') diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh index a3876f4c7..4fb419991 100755 --- a/packages/taler-wallet-webextension/pack.sh +++ b/packages/taler-wallet-webextension/pack.sh @@ -15,14 +15,14 @@ zipfile="taler-wallet-webextension-${vers_manifest}.zip" TEMP_DIR=$(mktemp -d) jq '. | .name = "GNU Taler Wallet" ' manifest-v2.json > $TEMP_DIR/manifest.json cp -r dist static $TEMP_DIR -(cd $TEMP_DIR && zip -r "$zipfile" dist static manifest.json) +(cd $TEMP_DIR && zip -q -r "$zipfile" dist static manifest.json) mkdir -p extension/v2 mv "$TEMP_DIR/$zipfile" ./extension/v2/ rm -rf $TEMP_DIR # also provide unpacked version rm -rf extension/v2/unpacked mkdir -p extension/v2/unpacked -(cd extension/v2/unpacked && unzip ../$zipfile) +(cd extension/v2/unpacked && unzip -q ../$zipfile) echo "Packed webextension: extension/v2/$zipfile" cp -rf src extension/v2/unpacked @@ -33,12 +33,12 @@ zipfile="taler-wallet-webextension-${vers_manifest}.zip" TEMP_DIR=$(mktemp -d) jq '. | .name = "GNU Taler Wallet" ' manifest-v3.json > $TEMP_DIR/manifest.json cp -r dist static $TEMP_DIR -(cd $TEMP_DIR && zip -r "$zipfile" dist static manifest.json) +(cd $TEMP_DIR && zip -q -r "$zipfile" dist static manifest.json) mkdir -p extension/v3 mv "$TEMP_DIR/$zipfile" ./extension/v3/ rm -rf $TEMP_DIR # also provide unpacked version rm -rf extension/v3/unpacked mkdir -p extension/v3/unpacked -(cd extension/v3/unpacked && unzip ../$zipfile) +(cd extension/v3/unpacked && unzip -q ../$zipfile) echo "Packed webextension: extension/v3/$zipfile" -- cgit v1.2.3