Files
express-prom-bundle/Makefile

19 lines
399 B
Makefile

.PHONY: coverage
test:
./node_modules/jasme/run.js
lint:
node_modules/eslint/bin/eslint.js src
coverage:
node_modules/istanbul/lib/cli.js cover \
-i 'src/*' \
--include-all-sources \
--dir coverage \
node_modules/jasme/run.js
coveralls: coverage
ifndef COVERALLS_REPO_TOKEN
$(error COVERALLS_REPO_TOKEN is undefined)
endif
node_modules/coveralls/bin/coveralls.js < coverage/lcov.info