mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
Update test script to npm install root modules
This commit is contained in:
parent
f723c7b303
commit
f5039faf40
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user