Add basic makefile
This commit is contained in:
parent
e7bd7dc08b
commit
9d1a4a0510
1 changed files with 35 additions and 0 deletions
35
Makefile
Normal file
35
Makefile
Normal 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
|
Reference in a new issue