aboutsummaryrefslogtreecommitdiff
path: root/webextension/pack.sh
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-03 13:00:48 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-03 13:01:05 +0530
commitffd2a62c3f7df94365980302fef3bc3376b48182 (patch)
tree270af6f16b4cc7f5da2afdba55c8bc9dbea5eca5 /webextension/pack.sh
parentaa481e42675fb7c4dcbbeec0ba1c61e1953b9596 (diff)
modularize repo, use pnpm, improve typechecking
Diffstat (limited to 'webextension/pack.sh')
-rwxr-xr-xwebextension/pack.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/webextension/pack.sh b/webextension/pack.sh
deleted file mode 100755
index ef005014f..000000000
--- a/webextension/pack.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-set -eu
-
-if [[ ! -e package.json ]]; then
- echo "Please run this from the root of the repo.">&2
- exit 1
-fi
-
-vers_manifest=$(jq -r '.version' webextension/manifest.json)
-
-rm -rf dist/wx
-mkdir -p dist/wx
-cp webextension/manifest.json dist/wx/
-cp -r webextension/static/* dist/wx/
-cp -r dist/webextension/* dist/wx/
-
-cd dist/wx
-
-zipfile="../taler-wallet-${vers_manifest}.zip"
-
-rm -f -- "$zipfile"
-zip -r "$zipfile" ./*