gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: automate android distribution


From: gnunet
Subject: [taler-wallet-core] branch master updated: automate android distribution, use files instead of .npmignore
Date: Sat, 02 Nov 2019 13:38:45 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 70a23229 automate android distribution, use files instead of .npmignore
70a23229 is described below

commit 70a232294035b2a08a701391495b65fdff696b7a
Author: Florian Dold <address@hidden>
AuthorDate: Sat Nov 2 13:38:41 2019 +0100

    automate android distribution, use files instead of .npmignore
---
 .npmignore                   | 19 -------------------
 Makefile                     | 11 +++++++++++
 contrib/package-android.json |  8 ++++++++
 package.json                 |  9 +++++++++
 4 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index f0340a38..00000000
--- a/.npmignore
+++ /dev/null
@@ -1,19 +0,0 @@
-/articles
-/packages
-/npm-packages-offline-cache
-/.vscode
-/*.log
-/contrib
-/.*
-/configure
-/selenium
-/*.json
-*.tsbuildinfo
-
-/Makefile
-/*.js
-
-/dist/*
-!/dist/node
-
-config.mk
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 31142ede..9372fe1b 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)
+
diff --git a/contrib/package-android.json b/contrib/package-android.json
new file mode 100644
index 00000000..995df392
--- /dev/null
+++ b/contrib/package-android.json
@@ -0,0 +1,8 @@
+{
+  "name": "android-taler-wallet",
+  "version": "0.6.0",
+  "license": "AGPL3+",
+  "dependencies": {
+    "taler-wallet": "./taler-wallet.tar.gz"
+  }
+}
diff --git a/package.json b/package.json
index 31cf91b1..2b2efcf0 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,15 @@
   "scripts": {
     "build": "make tsc"
   },
+  "files": [
+    "AUTHORS",
+    "README",
+    "COPYING",
+    "bin/",
+    "dist/node",
+    "src/",
+    "emscripten/"
+  ],
   "devDependencies": {
     "@types/react": "^16.4.0",
     "@types/react-dom": "^16.0.0",

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]