Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example

This commit is contained in:
Ari Lazier 2016-01-22 15:27:21 -08:00
commit 40c02b5cbd

View File

@ -66,6 +66,16 @@ elif [ "$TARGET" = "react-example" ]; then
xcodebuild -scheme ReactExample -configuration "$CONFIGURATION" -sdk iphonesimulator build $DESTINATION xcodebuild -scheme ReactExample -configuration "$CONFIGURATION" -sdk iphonesimulator build $DESTINATION
popd popd
elif [ "$TARGET" = "react-tests-android" ]; then elif [ "$TARGET" = "react-tests-android" ]; then
# update sdk tool
expect -c '
set timeout -1;
spawn /opt/android-sdk-linux/tools/android update sdk -u -a -t "build-tools-23.0.1";
expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue }
eof
}
'
pushd react-native/android pushd react-native/android
./gradlew installarchives ./gradlew installarchives
popd popd
@ -107,4 +117,3 @@ pkill -P $$ || true
pkill node || true pkill node || true
rm -f $PACKAGER_OUT rm -f $PACKAGER_OUT
rm -f $LOGCAT_OUT rm -f $LOGCAT_OUT