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