Remove a target
This commit is contained in:
parent
e2588341d5
commit
93397b3a4c
|
@ -376,32 +376,6 @@ case "$TARGET" in
|
||||||
popd
|
popd
|
||||||
stop_server
|
stop_server
|
||||||
;;
|
;;
|
||||||
"node-cover")
|
|
||||||
npm run check-environment
|
|
||||||
if [ "$(uname)" = 'Darwin' ]; then
|
|
||||||
echo "downloading server"
|
|
||||||
download_server
|
|
||||||
echo "starting server"
|
|
||||||
start_server
|
|
||||||
|
|
||||||
npm_tests_cmd="npm run test"
|
|
||||||
npm install --build-from-source=realm --realm_enable_sync
|
|
||||||
|
|
||||||
else
|
|
||||||
npm_tests_cmd="npm run test"
|
|
||||||
npm install --build-from-source=realm
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Change to a temp directory.
|
|
||||||
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
|
||||||
test_temp_dir=$PWD # set it to be cleaned at exit
|
|
||||||
|
|
||||||
pushd "$SRCROOT/tests"
|
|
||||||
npm install
|
|
||||||
eval "istanbul cover $npm_tests_cmd"
|
|
||||||
popd
|
|
||||||
stop_server
|
|
||||||
;;
|
|
||||||
"electron")
|
"electron")
|
||||||
if [ "$(uname)" = 'Darwin' ]; then
|
if [ "$(uname)" = 'Darwin' ]; then
|
||||||
download_server
|
download_server
|
||||||
|
|
Loading…
Reference in New Issue