mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-21 10:48:23 +00:00
Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example
This commit is contained in:
commit
40c02b5cbd
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user