Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
add coverage task
Browse files Browse the repository at this point in the history
  • Loading branch information
vdemedes committed May 22, 2015
1 parent bc13401 commit b3b20df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -11,8 +11,11 @@ include node_modules/make-lint-es6/index.mk
test:
@./node_modules/.bin/mocha --harmony test/test.js

cov:
@node --harmony ./node_modules/istanbul-harmony/lib/cli cover --harmony ./node_modules/.bin/_mocha test/test

clean:
@rm -rf lib/*.js

.PHONY: test clean
.PHONY: test cov clean

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -16,6 +16,7 @@
"babel": "^5.4.4",
"chai": "^2.3.0",
"chance": "^0.7.5",
"istanbul-harmony": "^0.3.12",
"make-lint-es6": "^1.0.3",
"mocha": "^2.2.5",
"mocha-generators": "^1.1.1"
Expand Down

0 comments on commit b3b20df

Please sign in to comment.