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

4 years ago
  1. validate: lint test
  2. test:
  3. @./node_modules/.bin/mocha \
  4. --require should \
  5. --reporter spec
  6. test-cov: lib-cov
  7. @CONCAT_COV=1 ./node_modules/.bin/mocha \
  8. --require should \
  9. --reporter html-cov > coverage.html
  10. lint:
  11. @./node_modules/.bin/jshint \
  12. --verbose \
  13. --config .jshintrc \
  14. lib/*.js \
  15. test/*.js
  16. lib-cov:
  17. jscoverage lib lib-cov
  18. .PHONY: test lint