fix instanbul command in Makefile

This commit is contained in:
Sebastian McKenzie 2014-09-29 00:38:10 +10:00
parent e3df476b79
commit 45803b24d3

View File

@ -1,4 +1,4 @@
ISTANBUL_CMD = node_modules/istanbul/lib/cli.js ISTANBUL_CMD = node_modules/istanbul/lib/cli.js cover
MOCHA_CMD = node_modules/mocha/bin/_mocha MOCHA_CMD = node_modules/mocha/bin/_mocha
export NODE_ENV = test export NODE_ENV = test
@ -13,7 +13,7 @@ test:
test-cov: test-cov:
make clean make clean
node $(ISTANBUL_CMD) cover $(MOCHA_CMD) -- node $(ISTANBUL_CMD) $(MOCHA_CMD) --
test-travis: test-travis:
node $(ISTANBUL_CMD) $(MOCHA_CMD) --report lcovonly -- --reporter spec node $(ISTANBUL_CMD) $(MOCHA_CMD) --report lcovonly -- --reporter spec