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.

27 lines
546 B

2 months ago
test:
@NODE_ENV=test ./node_modules/.bin/mocha $(T) $(TESTS)
test-cov:
@NODE_ENV=test node \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
-- -u exports \
open-cov:
open coverage/lcov-report/index.html
lint:
@NODE_ENV=test node ./node_modules/eslint/bin/eslint.js .
test-travis:
@NODE_ENV=test node \
node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
--report lcovonly \
--bail
@NODE_ENV=test node \
./node_modules/eslint/bin/eslint.js .
.PHONY: test test-cov open-cov lint test-travis