Using jshint for more up-tightness

This commit is contained in:
Tom MacWright 2011-05-10 17:20:41 -04:00
parent 6621e178bc
commit b6cc102089
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,9 @@
expresso = ./node_modules/.bin/expresso
docco = ./node_modules/.bin/docco
lint:
./node_modules/.bin/jshint lib/carto/*.js lib/carto/tree/*.js
ifndef only
test:
$(expresso) -I lib test/*.test.js

View File

@ -44,6 +44,7 @@
},
"devDependencies": {
"expresso" : "= 0.7.x",
"docco" : "= 0.2.x"
"docco" : "= 0.2.x",
"jshint" : "= 0.2.x"
}
}