using nvm

This commit is contained in:
Nabil Hachicha 2016-01-26 20:38:42 +00:00
parent fca40ec16f
commit 5cd08aa2ac
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ 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
nvm install 5.4.0
nvm use 5.4.0
pushd react-native/android pushd react-native/android
./gradlew installarchives ./gradlew installarchives
popd popd