Include webgl-debug.js
This commit is contained in:
@@ -9,3 +9,4 @@
|
|||||||
/bin/plovr*.jar
|
/bin/plovr*.jar
|
||||||
/jsdoc/
|
/jsdoc/
|
||||||
/plovr*.jar
|
/plovr*.jar
|
||||||
|
/webgl-debug.js
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ GSLINT_EXCLUDES= \
|
|||||||
src/ol/renderer/TileLayerRenderer.js \
|
src/ol/renderer/TileLayerRenderer.js \
|
||||||
src/ol/renderer/WebGL.js
|
src/ol/renderer/WebGL.js
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: build webgl-debug.js
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(PLOVR_JAR)
|
build: $(PLOVR_JAR)
|
||||||
java -jar $(PLOVR_JAR) build main.json >api.js
|
java -jar $(PLOVR_JAR) build main.json >api.js
|
||||||
@@ -58,5 +61,8 @@ serve: $(PLOVR_JAR)
|
|||||||
lint: $(CLOSURE_LINTER)
|
lint: $(CLOSURE_LINTER)
|
||||||
gjslint --strict $(filter-out $(GSLINT_EXCLUDES),$(shell find externs src -name \*.js))
|
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):
|
$(PLOVR_JAR):
|
||||||
curl http://plovr.googlecode.com/files/$(PLOVR_JAR) > $@
|
curl http://plovr.googlecode.com/files/$(PLOVR_JAR) > $@
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
|
<script src="webgl-debug.js" type="text/javascript"></script>
|
||||||
<script src="http://localhost:9810/compile?id=ol&mode=RAW" type="text/javascript"></script>
|
<script src="http://localhost:9810/compile?id=ol&mode=RAW" type="text/javascript"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user