From 9d1a4a0510f41567a15d2e9cabb885fb5b4778b1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 16 Sep 2016 23:20:21 +0100 Subject: [PATCH] Add basic makefile --- Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0248cb3 --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ + + +build: + rm -rf dist/ + tsc + + +install: node_modules typings + + +node_modules: + npm install + +typings: + typings install + + +run: + react-native run-android + + +release-android: + cd android/ + ./gradlew assembleRelease + cd ../ + + +release-android-install: + adb uninstall com.zxcvbn + cd android + ./gradlew installRelease + cd ../ + + +.PHONY: build install run release-android release-android-install