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.

Makefile 524B

123456789101112131415161718192021
  1. test:
  2. @npm run test
  3. lib-cov:
  4. @./node_modules/.bin/istanbul instrument --output lib-cov --no-compact --variable global.__coverage__ lib
  5. coverage: lib-cov
  6. @COVERAGE=1 ISTANBUL_REPORTERS=text-summary ./node_modules/.bin/mocha --reporter mocha-istanbul
  7. @rm -rf lib-cov
  8. coveralls: lib-cov
  9. @COVERAGE=1 ISTANBUL_REPORTERS=lcovonly ./node_modules/.bin/mocha --reporter mocha-istanbul
  10. @cat lcov.info | ./node_modules/.bin/coveralls
  11. @rm -rf lib-cov lcov.info
  12. travis: lint test coveralls
  13. lint:
  14. @npm run lint
  15. .PHONY: test