You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
342 B
23 lines
342 B
#
|
|
# Run all tests
|
|
#
|
|
|
|
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
|
|
else
|
|
test:
|
|
$(expresso) -I lib test/${only}.test.js
|
|
endif
|
|
|
|
doc:
|
|
$(docco) lib/carto/*.js lib/carto/tree/*.js
|
|
|
|
.PHONY: test
|