2013-12-14 03:28:57 +00:00
|
|
|
.PHONY: test ssf
|
|
|
|
ssf: ssf.md
|
|
|
|
voc ssf.md
|
|
|
|
|
|
|
|
test:
|
|
|
|
npm test
|
2014-01-20 08:37:48 +00:00
|
|
|
|
2014-02-11 19:20:34 +00:00
|
|
|
test_min:
|
|
|
|
MINTEST=1 npm test
|
|
|
|
|
2014-01-20 08:37:48 +00:00
|
|
|
.PHONY: lint
|
|
|
|
lint:
|
|
|
|
jshint ssf.js test/
|
|
|
|
|
|
|
|
.PHONY: cov
|
|
|
|
cov: tmp/coverage.html
|
|
|
|
|
2014-02-11 19:20:34 +00:00
|
|
|
tmp/coverage.html: ssf
|
2014-01-20 08:37:48 +00:00
|
|
|
mocha --require blanket -R html-cov > tmp/coverage.html
|
|
|
|
|
2014-02-11 19:20:34 +00:00
|
|
|
.PHONY: cov_min
|
|
|
|
cov_min:
|
|
|
|
MINTEST=1 make cov
|
|
|
|
|
2014-03-27 21:31:10 +00:00
|
|
|
.PHONY: coveralls full_coveralls
|
|
|
|
full_coveralls:
|
2014-01-20 08:37:48 +00:00
|
|
|
mocha --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
|
2014-03-27 21:31:10 +00:00
|
|
|
|
|
|
|
coveralls:
|
|
|
|
MINTEST=1 make full_coveralls
|