Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 320 Bytes
REPORTER = dot
test:
@mocha --reporter $(REPORTER)
test-cov: lib-cov
@TAMPER_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
@rm -rf lib-cov
open coverage.html
lib-cov:
@rm -rf lib-cov
@jscoverage --no-highlight lib lib-cov
clean:
rm -rf lib-cov
rm -f coverage.html
.PHONY: test test-cov lib-cov clean