Add basic makefile

This commit is contained in:
Jake Howard 2016-09-16 23:20:21 +01:00
parent e7bd7dc08b
commit 9d1a4a0510
Signed by: jake
GPG key ID: 57AFB45680EDD477

35
Makefile Normal file
View file

@ -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