Remove a target

This commit is contained in:
Emanuele Zattin 2017-10-10 10:01:35 +02:00
parent e2588341d5
commit 93397b3a4c
1 changed files with 0 additions and 26 deletions

View File

@ -376,32 +376,6 @@ case "$TARGET" in
popd
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")
if [ "$(uname)" = 'Darwin' ]; then
download_server