File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
SCRIPT=$( readlink -f " $0 " )
5
- BUILD_DIR=$( dirname $SCRIPT )
6
- PROJECT_DIR=$( dirname $BUILD_DIR )
5
+ BUILD_DIR=$( dirname " $SCRIPT " )
6
+ PROJECT_DIR=$( dirname " $BUILD_DIR " )
7
7
8
- $PROJECT_DIR /build/start-android-emulator.sh &
8
+ " $PROJECT_DIR /build/start-android-emulator.sh" &
9
9
EMULATOR_STARTER_PID=$!
10
10
11
- . $PROJECT_DIR /build/tns.sh
11
+ . " $PROJECT_DIR /build/tns.sh"
12
12
13
13
activate_node_env
14
14
@@ -18,7 +18,7 @@ npm install
18
18
rm -rf platforms/android
19
19
tns platform add android
20
20
21
- wait $EMULATOR_STARTER_PID
21
+ wait " $EMULATOR_STARTER_PID "
22
22
tns test android | tee test-output.txt
23
23
24
24
if grep -q -E ' Executed[[:space:]][[:digit:]]+.*FAILED' test-output.txt ; then
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export NODE_VER="v5.5.0"
7
7
8
8
install_nvm () {
9
9
if [ ! -d " $NVM_DIR " ] ; then
10
- git clone --depth=1 $NVM_REPO $NVM_DIR
10
+ git clone --depth=1 $NVM_REPO " $NVM_DIR "
11
11
else
12
12
echo " NVM detected at $NVM_DIR "
13
13
fi
@@ -18,7 +18,7 @@ activate_nvm() {
18
18
}
19
19
20
20
installed_under_nvm () {
21
- which $1 | grep -q " $NVM_DIR "
21
+ which " $1 " | grep -q " $NVM_DIR "
22
22
}
23
23
24
24
install_node () {
You can’t perform that action at this time.
0 commit comments