Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 295 Bytes
REPORTER = spec
test:
@NODE_ENV=test ./node_modules/.bin/mocha test/*-test.js --reporter $(REPORTER)
test-cov:
$(MAKE) lib-cov
@NU_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-cov lib-cov