summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-02 13:38:41 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-02 13:38:41 +0100
commit70a232294035b2a08a701391495b65fdff696b7a (patch)
tree443f4c143c6222e1549b5ec2cde026d0eba290fa /Makefile
parentd184633a8898399171ac4790a18024709a5df595 (diff)
downloadwallet-core-70a232294035b2a08a701391495b65fdff696b7a.tar.gz
wallet-core-70a232294035b2a08a701391495b65fdff696b7a.tar.bz2
wallet-core-70a232294035b2a08a701391495b65fdff696b7a.zip
automate android distribution, use files instead of .npmignore
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 31142ede5..9372fe1b6 100644
--- a/Makefile
+++ b/Makefile
@@ -93,3 +93,14 @@ endif
.PHONY: watch
watch: tsconfig.json
./node_modules/.bin/webpack --watch
+
+
+# Create the node_modules directory for the android wallet
+package-android:
+ rm -rf dist/android
+ mkdir -p dist/android
+ yarn pack --filename dist/android/taler-wallet.tar.gz
+ cp contrib/package-android.json dist/android/package.json
+ cd dist/android && yarn install
+ #cd dist/android && npm install --global --prefix $(CURDIR)/dist/android $(CURDIR)
+