Skip to content

Commit fc5465a

Browse files
committed
appveyor: install grunt-cli
* avoid CLI tricks in package.json
1 parent c877143 commit fc5465a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

appveyor.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ install:
77
- ps: Install-Product node $env:nodejs_version
88
# install modules
99
- npm install
10+
- npm install -g grunt-cli
1011

1112
# Post-install test scripts.
1213
test_script:
1314
# Output useful info for debugging.
1415
- node --version
1516
- npm --version
1617
# run tests
17-
- npm test
18+
#- grunt lint # no need to run lint tests here too
19+
- node run_tests
1820

1921
# Don't actually build.
2022
build: off

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"haraka_grep": "./bin/haraka_grep"
6060
},
6161
"scripts": {
62-
"test": "grunt lint; node run_tests",
63-
"coveralls": "jscoverage *.js && QUICKSORT_COV=1 ./node_modules/nodeunit/bin/nodeunit --reporter=lcov tests --reporter=lcov tests | coveralls"
62+
"test": "node run_tests",
63+
"coveralls": "jscoverage plugins && QUICKSORT_COV=1 ./node_modules/nodeunit/bin/nodeunit --reporter=lcov tests | coveralls"
6464
}
6565
}

0 commit comments

Comments
 (0)