Add a download plovr target to Makefile

This commit is contained in:
Éric Lemoine
2012-09-25 16:06:37 +02:00
parent 0130915f00
commit 4a6b13ed39

View File

@@ -138,6 +138,9 @@ serve: $(PLOVR_JAR) build/ol-all.js
lint:
gjslint --strict --limited_doc_files=$(subst $(space),$(comma),$(shell find externs -name \*.js)) $(SRC) $(filter-out $(TARGETS),$(shell find demos -name \*.js))
.PHONY: plovr
plovr: $(PLOVR_JAR)
$(PLOVR_JAR):
curl http://plovr.googlecode.com/files/$(notdir $@) > $@