[MM-15994] Revert change to use RNN v2's npm script (#2922)
* Revert change to use RNN v2's npm script * Remove RNN v2 npm script
This commit is contained in:
parent
863043e125
commit
74c7805e65
2 changed files with 11 additions and 4 deletions
12
Makefile
12
Makefile
|
|
@ -160,11 +160,19 @@ run-android: | check-device-android pre-run prepare-android-build ## Runs the ap
|
|||
@if [ $(shell ps -ef | grep -i "cli.js start" | grep -civ grep) -eq 0 ]; then \
|
||||
echo Starting React Native packager server; \
|
||||
npm start & echo Running Android app in development; \
|
||||
npm run android; \
|
||||
if [ ! -z ${VARIANT} ]; then \
|
||||
react-native run-android --no-packager --variant=${VARIANT}; \
|
||||
else \
|
||||
react-native run-android --no-packager; \
|
||||
fi; \
|
||||
wait; \
|
||||
else \
|
||||
echo Running Android app in development; \
|
||||
npm run android; \
|
||||
if [ ! -z ${VARIANT} ]; then \
|
||||
react-native run-android --no-packager --variant=${VARIANT}; \
|
||||
else \
|
||||
react-native run-android --no-packager; \
|
||||
fi; \
|
||||
fi
|
||||
|
||||
build: | stop pre-build check-style i18n-extract-ci ## Builds the app for Android & iOS
|
||||
|
|
|
|||
|
|
@ -116,8 +116,7 @@
|
|||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"updatesnapshot": "jest --updateSnapshot",
|
||||
"mmjstool": "mmjstool",
|
||||
"android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug"
|
||||
"mmjstool": "mmjstool"
|
||||
},
|
||||
"rnpm": {
|
||||
"assets": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue