Add serve-precommit target for Travis

This commit is contained in:
Tom Payne
2012-09-29 11:40:50 +02:00
parent 68209bc5ac
commit 012b8a584a
2 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ before_install:
before_script:
- "make plovr"
- "make serve &"
- "make serve-precommit &"
- "sleep 3"
script: "make JSDOC=jsdoc/jsdoc precommit"

View File

@@ -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