You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
370 B

validate: lint test
test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
test-cov: lib-cov
@CONCAT_COV=1 ./node_modules/.bin/mocha \
--require should \
--reporter html-cov > coverage.html
lint:
@./node_modules/.bin/jshint \
--verbose \
--config .jshintrc \
lib/*.js \
test/*.js
lib-cov:
jscoverage lib lib-cov
.PHONY: test lint