add a test target to Makefile
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,4 +1,5 @@
|
||||
JSDOC = jsdoc
|
||||
PHANTOMJS = phantomjs
|
||||
PLOVR_JAR = bin/plovr-4b3caf2b7d84.jar
|
||||
SRC = $(shell find exports externs src/ol -name \*.js)
|
||||
TARGETS = $(shell find demos -name advanced-optimizations.js -o -name simple-optimizations.js)
|
||||
@@ -110,6 +111,10 @@ $(PLOVR_JAR):
|
||||
doc:
|
||||
$(JSDOC) -t doc/template -r src -d build/apidoc
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(PHANTOMJS) test/phantom-jasmine/run_jasmine_test.coffee test/ol.html
|
||||
|
||||
clean:
|
||||
rm -f build/all.js
|
||||
rm -f build/ol.js
|
||||
|
||||
Reference in New Issue
Block a user