scratch-asset-types/Makefile
2018-01-17 09:01:38 -05:00

26 lines
555 B
Makefile

ESLINT=./node_modules/.bin/eslint
TAP=./node_modules/.bin/tap
# ------------------------------------------------------------------------------
start:
node server.js
# ------------------------------------------------------------------------------
lint:
$(ESLINT) ./*.js
$(ESLINT) ./lib/*.js
$(ESLINT) ./test/**/*.js
tap-tests:
$(TAP) ./test/{unit,functional,integration}/*.js
test:
@make lint
@make tap-tests
coverage:
$(TAP) ./test/{unit,functional,integration}/*.js --coverage --coverage-report=lcov
.PHONY: start lint test coverage load