aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/taler-wallet-webextension/clean_and_build.sh4
-rwxr-xr-xpackages/taler-wallet-webextension/clean_and_build_fast.sh2
-rwxr-xr-xpackages/taler-wallet-webextension/pack.sh8
3 files changed, 8 insertions, 6 deletions
diff --git a/packages/taler-wallet-webextension/clean_and_build.sh b/packages/taler-wallet-webextension/clean_and_build.sh
index 0cfbe0946..22abb212f 100755
--- a/packages/taler-wallet-webextension/clean_and_build.sh
+++ b/packages/taler-wallet-webextension/clean_and_build.sh
@@ -4,7 +4,3 @@ set -e
[ "also-wallet" == "$1" ] && { pnpm -C ../taler-wallet-core/ compile || exit 1; }
[ "also-util" == "$1" ] && { pnpm -C ../taler-util/ prepare || exit 1; }
pnpm clean && pnpm compile && rm -rf extension/ && ./pack.sh
-(cd extension/v2 && unzip taler*.zip)
-(cd extension/v3 && unzip taler*.zip)
-
-
diff --git a/packages/taler-wallet-webextension/clean_and_build_fast.sh b/packages/taler-wallet-webextension/clean_and_build_fast.sh
index a7681d268..61015d0ce 100755
--- a/packages/taler-wallet-webextension/clean_and_build_fast.sh
+++ b/packages/taler-wallet-webextension/clean_and_build_fast.sh
@@ -7,7 +7,5 @@ rm -rf dist lib tsconfig.tsbuildinfo
(cd ../.. && rm -rf build/web && ./contrib/build-fast-web.sh)
rm -rf extension/
./pack.sh
-(cd extension/v2 && unzip taler*.zip)
-(cd extension/v3 && unzip taler*.zip)
mv node_modules{_saved,}
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh
index e96c5d673..8ea849083 100755
--- a/packages/taler-wallet-webextension/pack.sh
+++ b/packages/taler-wallet-webextension/pack.sh
@@ -19,6 +19,10 @@ cp -r dist static $TEMP_DIR
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)
echo "Packed webextension: extension/v2/$zipfile"
@@ -33,4 +37,8 @@ cp -r dist static $TEMP_DIR
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)
echo "Packed webextension: extension/v3/$zipfile"