Update test script to npm install root modules

This commit is contained in:
Scott Kyle 2016-03-16 17:49:20 -07:00
parent f723c7b303
commit f5039faf40

View File

@ -77,12 +77,13 @@ fi
case "$TARGET" in
"eslint")
[[ $CONFIGURATION == 'Debug' ]] && exit 0
npm install
npm run lint .
;;
"jsdoc")
if [[ $CONFIGURATION == 'Debug' ]]; then
exit 0
fi
[[ $CONFIGURATION == 'Debug' ]] && exit 0
npm install
npm run jsdoc
;;
"realmjs")
@ -117,9 +118,7 @@ case "$TARGET" in
xcodebuild -scheme ReactExample -configuration "$CONFIGURATION" -sdk iphonesimulator $DESTINATION build test
;;
"react-tests-android")
if [[ $CONFIGURATION == 'Debug' ]]; then
exit 0
fi
[[ $CONFIGURATION == 'Debug' ]] && exit 0
pushd tests/react-test-app