Bring back RNTester manual step

This commit is contained in:
grabbou
2019-09-25 13:05:12 +02:00
parent c833f41177
commit a33e809d7b
+22 -22
View File
@@ -42,34 +42,34 @@ success "Generated artifacts for Maven"
npm install
# success "Killing any running packagers"
# lsof -i :8081 | grep LISTEN
# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
success "Killing any running packagers"
lsof -i :8081 | grep LISTEN
lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
# info "Start the packager in another terminal by running 'npm start' from the root"
# info "and then press any key."
# info ""
# read -n 1
info "Start the packager in another terminal by running 'npm start' from the root"
info "and then press any key."
info ""
read -n 1
# ./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android"
./gradlew :RNTester:android:app:installJscDebug || error "Couldn't build RNTester Android"
# info "Press any key to run RNTester in an already running Android emulator/device"
# info ""
# read -n 1
# adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity
info "Press any key to run RNTester in an already running Android emulator/device"
info ""
read -n 1
adb shell am start -n com.facebook.react.uiapp/.RNTesterActivity
# info "Press any key to open the workspace in Xcode, then build and test manually."
# info ""
# read -n 1
# open "RNTester/RNTesterPods.xcworkspace"
info "Press any key to open the workspace in Xcode, then build and test manually."
info ""
read -n 1
open "RNTester/RNTesterPods.xcworkspace"
# info "When done testing RNTester app on iOS and Android press any key to continue."
# info ""
# read -n 1
info "When done testing RNTester app on iOS and Android press any key to continue."
info ""
read -n 1
# success "Killing packager"
# lsof -i :8081 | grep LISTEN
# lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
success "Killing packager"
lsof -i :8081 | grep LISTEN
lsof -i :8081 | grep LISTEN | /usr/bin/awk '{print $2}' | xargs kill
npm pack