fix instanbul command in Makefile
This commit is contained in:
parent
e3df476b79
commit
45803b24d3
4
Makefile
4
Makefile
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user