Include webgl-debug.js

This commit is contained in:
Tom Payne
2012-07-15 20:42:09 +02:00
parent b6282ba631
commit 7d8d8253a3
3 changed files with 8 additions and 0 deletions
+6
View File
@@ -46,6 +46,9 @@ GSLINT_EXCLUDES= \
src/ol/renderer/TileLayerRenderer.js \
src/ol/renderer/WebGL.js
.PHONY: all
all: build webgl-debug.js
.PHONY: build
build: $(PLOVR_JAR)
java -jar $(PLOVR_JAR) build main.json >api.js
@@ -58,5 +61,8 @@ serve: $(PLOVR_JAR)
lint: $(CLOSURE_LINTER)
gjslint --strict $(filter-out $(GSLINT_EXCLUDES),$(shell find externs src -name \*.js))
webgl-debug.js:
curl https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/debug/webgl-debug.js > $@
$(PLOVR_JAR):
curl http://plovr.googlecode.com/files/$(PLOVR_JAR) > $@