diff --git a/.gitignore b/.gitignore index c1d4dd47df..33895d5e43 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /bin/plovr*.jar /jsdoc/ /plovr*.jar +/webgl-debug.js diff --git a/Makefile b/Makefile index 653b2f1a08..e772a1df24 100644 --- a/Makefile +++ b/Makefile @@ -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) > $@ diff --git a/skeleton.html b/skeleton.html index dfe546215c..9c1540a011 100644 --- a/skeleton.html +++ b/skeleton.html @@ -12,6 +12,7 @@
+