Makefile 546 B

1234567891011121314151617181920212223242526
  1. test:
  2. @NODE_ENV=test ./node_modules/.bin/mocha $(T) $(TESTS)
  3. test-cov:
  4. @NODE_ENV=test node \
  5. node_modules/.bin/istanbul cover \
  6. ./node_modules/.bin/_mocha \
  7. -- -u exports \
  8. open-cov:
  9. open coverage/lcov-report/index.html
  10. lint:
  11. @NODE_ENV=test node ./node_modules/eslint/bin/eslint.js .
  12. test-travis:
  13. @NODE_ENV=test node \
  14. node_modules/.bin/istanbul cover \
  15. ./node_modules/.bin/_mocha \
  16. --report lcovonly \
  17. --bail
  18. @NODE_ENV=test node \
  19. ./node_modules/eslint/bin/eslint.js .
  20. .PHONY: test test-cov open-cov lint test-travis