File tree Expand file tree Collapse file tree 1 file changed +6
-29
lines changed Expand file tree Collapse file tree 1 file changed +6
-29
lines changed Original file line number Diff line number Diff line change 46
46
47
47
48
48
echo " Using Atom version:"
49
- " $ATOM_SCRIPT_PATH " -v
50
- echo " Using APM version:"
51
- " $APM_SCRIPT_PATH " -v
49
+ " $ATOM_SCRIPT_PATH " --version
50
+ echo " Using apm version:"
51
+ " $APM_SCRIPT_PATH " --version
52
+ echo " Using npm version:"
53
+ npm --version
52
54
53
55
echo " Downloading package dependencies..."
54
- " $APM_SCRIPT_PATH " rebuild-module-cache
55
- " $APM_SCRIPT_PATH " clean
56
- " $APM_SCRIPT_PATH " install
57
- " $APM_SCRIPT_PATH " install
58
-
59
- TEST_PACKAGES=" ${APM_TEST_PACKAGES:= none} "
60
-
61
- if [ " $TEST_PACKAGES " != " none" ]; then
62
- echo " Installing atom package dependencies..."
63
- for pack in $TEST_PACKAGES ; do
64
- " $APM_SCRIPT_PATH " install $pack
65
- done
66
- fi
67
-
68
- # if [ -f ./node_modules/.bin/eslint ]; then
69
- # if [ -d ./lib ]; then
70
- # echo "Linting package..."
71
- # ./node_modules/.bin/eslint lib
72
- # rc=$?; if [ $rc -ne 0 ]; then exit $rc; fi
73
- # fi
74
- # if [ -d ./spec ]; then
75
- # echo "Linting package specs..."
76
- # ./node_modules/.bin/eslint spec
77
- # rc=$?; if [ $rc -ne 0 ]; then exit $rc; fi
78
- # fi
79
- # fi
56
+ npm install
80
57
81
58
echo " Running specs..."
82
59
" $ATOM_SCRIPT_PATH " --test test
You can’t perform that action at this time.
0 commit comments