Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 441 Bytes
TESTS += test/*.test.js
test:
@node_modules/.bin/mocha \
--reporter spec \
--slow 2000ms \
--bail \
$(TESTS)
.PHONY: test
GJSLINT := --nojsdoc --exclude_directories=node_modules --exclude_files=bin/gr --max_line_length=120 --disable=200,201,202,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,230,231,232,233,250,251,252
lint:
fixjsstyle $(GJSLINT) -r .
gjslint $(GJSLINT) -r .
jshint .
.PHONY: lint