Merge pull request #5713 from ahocevar/check-examples-http
Check examples with http protocol instead of file
This commit is contained in:
2
Makefile
2
Makefile
@@ -184,7 +184,7 @@ build/timestamps/check-%-timestamp: $(BUILD_HOSTED)/examples/%.html \
|
||||
$(BUILD_HOSTED)/build/ol.js \
|
||||
$(BUILD_HOSTED)/css/ol.css
|
||||
@mkdir -p $(@D)
|
||||
./node_modules/.bin/phantomjs --local-to-remote-url-access=true --ssl-protocol=any --ignore-ssl-errors=true bin/check-example.js $<
|
||||
./node_modules/.bin/serve-files 8000 . & pid=$$! && ./node_modules/.bin/phantomjs --ssl-protocol=any --ignore-ssl-errors=true bin/check-example.js http://localhost:8000/$< && kill -9 $$pid
|
||||
@touch $@
|
||||
|
||||
build/compiled-examples/all.js: $(EXAMPLES_JS)
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
"phantomjs-prebuilt": "2.1.11",
|
||||
"proj4": "2.3.14",
|
||||
"resemblejs": "2.2.1",
|
||||
"serve-files": "1.0.0",
|
||||
"sinon": "1.17.5",
|
||||
"slimerjs": "0.906.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user