aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9b4a1f4..c2a3b99 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
REPORTER = spec
test:
+ $(MAKE) lint
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER)
+lint:
+ ./node_modules/.bin/jshint ./lib ./test ./index.js
+
lib-cov:
./node_modules/jscoverage/bin/jscoverage lib lib-cov