Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 337 Bytes
REPORTER = spec
test:
@NODE_ENV=test ./node_modules/.bin/mocha test/*-test.js $(OPT) --colors --reporter $(REPORTER)
test-bail:
@rm -rf lib-cov
@jscoverage lib lib-cov
$(MAKE) test OPT=--bail
test-cov:
@APISERVER_ROUTER_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
@open -g coverage.html
.PHONY: test test-bail test-cov