Add serve-precommit target for Travis
This commit is contained in:
@@ -4,7 +4,7 @@ before_install:
|
||||
|
||||
before_script:
|
||||
- "make plovr"
|
||||
- "make serve &"
|
||||
- "make serve-precommit &"
|
||||
- "sleep 3"
|
||||
|
||||
script: "make JSDOC=jsdoc/jsdoc precommit"
|
||||
|
||||
4
Makefile
4
Makefile
@@ -57,6 +57,10 @@ examples/%.combined.js: $(PLOVR_JAR) base.json examples/%.js
|
||||
serve: $(PLOVR_JAR) build/require-all.js examples
|
||||
java -jar $(PLOVR_JAR) serve build/*.json examples/*.json
|
||||
|
||||
.PHONY: serve-precommit
|
||||
serve-precommit: $(PLOVR_JAR)
|
||||
java -jar $(PLOVR_JAR) serve build/ol.json
|
||||
|
||||
.PHONY: lint
|
||||
lint: build/lint-src-timestamp build/lint-spec-timestamp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user