19 lines
295 B
Makefile
19 lines
295 B
Makefile
|
REPORTER = dot
|
||
|
|
||
|
test:
|
||
|
@./node_modules/mocha/bin/mocha --reporter $(REPORTER)
|
||
|
|
||
|
setup:
|
||
|
@npm install
|
||
|
|
||
|
subl:
|
||
|
@subl lib/ test/ package.json index.js
|
||
|
|
||
|
test-cov: lib-cov
|
||
|
@CHEERIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
|
||
|
|
||
|
lib-cov:
|
||
|
@jscoverage lib lib-cov
|
||
|
|
||
|
.PHONY: test build setup subl
|