remove update SDK script

This commit is contained in:
Nabil Hachicha 2016-01-22 23:54:17 +00:00
parent ec5e5a5991
commit 8858cbb302
1 changed files with 9 additions and 9 deletions

View File

@ -70,15 +70,15 @@ elif [ "$TARGET" = "react-tests-android" ]; then
rm -Rf ~/.m2/repository/com/facebook/react/react-native/ rm -Rf ~/.m2/repository/com/facebook/react/react-native/
mkdir -p ~/.m2/repository/com/facebook/react/react-native/ mkdir -p ~/.m2/repository/com/facebook/react/react-native/
tar xvf ./patched_bin/0.18.0-patched.tar.gz -C ~/.m2/repository/com/facebook/react/react-native/ tar xvf ./patched_bin/0.18.0-patched.tar.gz -C ~/.m2/repository/com/facebook/react/react-native/
# update sdk tool # # update sdk tool
expect -c ' # expect -c '
set timeout -1; # set timeout -1;
spawn /opt/android-sdk-linux/tools/android update sdk -u -a -t "build-tools-23.0.1"; # spawn /opt/android-sdk-linux/tools/android update sdk -u -a -t "build-tools-23.0.1";
expect { # expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue } # "Do you accept the license" { exp_send "y\r" ; exp_continue }
eof # eof
} # }
' # '
pushd react-native/android pushd react-native/android
./gradlew installarchives ./gradlew installarchives