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
|
case "$TARGET" in
|
||||||
"eslint")
|
"eslint")
|
||||||
|
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
||||||
|
npm install
|
||||||
npm run lint .
|
npm run lint .
|
||||||
;;
|
;;
|
||||||
"jsdoc")
|
"jsdoc")
|
||||||
if [[ $CONFIGURATION == 'Debug' ]]; then
|
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
||||||
exit 0
|
npm install
|
||||||
fi
|
|
||||||
npm run jsdoc
|
npm run jsdoc
|
||||||
;;
|
;;
|
||||||
"realmjs")
|
"realmjs")
|
||||||
@ -117,9 +118,7 @@ case "$TARGET" in
|
|||||||
xcodebuild -scheme ReactExample -configuration "$CONFIGURATION" -sdk iphonesimulator $DESTINATION build test
|
xcodebuild -scheme ReactExample -configuration "$CONFIGURATION" -sdk iphonesimulator $DESTINATION build test
|
||||||
;;
|
;;
|
||||||
"react-tests-android")
|
"react-tests-android")
|
||||||
if [[ $CONFIGURATION == 'Debug' ]]; then
|
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
pushd tests/react-test-app
|
pushd tests/react-test-app
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user