This commit is contained in:
chrosey
2017-09-13 07:52:34 +02:00
parent a1f16c37f4
commit 2340b0226b
24621 changed files with 2912161 additions and 149 deletions
+23
View File
@@ -0,0 +1,23 @@
validate: lint test
test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
test-cov: lib-cov
@CONCAT_COV=1 ./node_modules/.bin/mocha \
--require should \
--reporter html-cov > coverage.html
lint:
@./node_modules/.bin/jshint \
--verbose \
--config .jshintrc \
lib/*.js \
test/*.js
lib-cov:
jscoverage lib lib-cov
.PHONY: test lint