small changes for coordination of docs and latest addition of RN fork

This commit is contained in:
Roman Volosovskyi 2018-06-29 12:29:14 +03:00
parent 2817d00720
commit 2b8a29817a
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
3 changed files with 3 additions and 2 deletions

View File

@ -109,6 +109,7 @@ repl-android: ##@repl Start REPL for Android
# Run # Run
# ------------- # -------------
run-android: ##@run Run Android build run-android: ##@run Run Android build
cd android; ./gradlew react-native-android:installArchives
react-native run-android --appIdSuffix debug react-native run-android --appIdSuffix debug
SIMULATOR= SIMULATOR=

View File

@ -248,7 +248,7 @@ task hemroidBuild(type: Exec) {
def rootDir = project.rootDir def rootDir = project.rootDir
def localProperties = new File(rootDir, "local.properties") def localProperties = new File(rootDir, "local.properties")
def ndkDir = "$System.env.ANDROID_NDK_HOME" def ndkDir = "$System.env.ANDROID_NDK"
if (localProperties.exists()) { if (localProperties.exists()) {
Properties properties = new Properties() Properties properties = new Properties()
localProperties.withInputStream { instr -> localProperties.withInputStream { instr ->

View File

@ -76,7 +76,7 @@ sleep 10s
adb reverse tcp:8081 tcp:8081 && adb reverse tcp:3449 tcp:3449 adb reverse tcp:8081 tcp:8081 && adb reverse tcp:3449 tcp:3449
react-native run-android make run-android
if [ ! -z $3 ] if [ ! -z $3 ]
then then