fixing nvm

This commit is contained in:
Nabil Hachicha 2016-01-26 20:48:47 +00:00
parent 5cd08aa2ac
commit 56aa718cee
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +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 [ -s "${HOME}/.nvm/nvm.sh" ] && . "${HOME}/.nvm/nvm.sh"
nvm use 5.4.0 nvm use 5.4.0
pushd react-native/android pushd react-native/android
./gradlew installarchives ./gradlew installarchives
popd popd