13
.gitignore
vendored
13
.gitignore
vendored
@@ -1,23 +1,24 @@
|
||||
*.pyc
|
||||
/bin/plovr*.jar
|
||||
/build/gh-pages
|
||||
/build/check-requires-timestamp
|
||||
/build/gh-pages
|
||||
/build/glsl-unit
|
||||
/build/jsdoc
|
||||
/build/jsdoc-*-timestamp
|
||||
/build/lint-timestamp
|
||||
/build/ol.css
|
||||
/build/ol.js
|
||||
/build/ol-all.js
|
||||
/build/ol-simple.js
|
||||
/build/ol-whitespace.js
|
||||
/build/src
|
||||
/build/ol.css
|
||||
/build/ol.js
|
||||
/build/phantomjs-*-windows
|
||||
/build/phantomjs-*-windows.zip
|
||||
/build/proj4js-*.zip
|
||||
/build/proj4js
|
||||
/examples/*.json
|
||||
/build/proj4js-*.zip
|
||||
/build/src
|
||||
/examples/*.combined.js
|
||||
/examples/*.html.png
|
||||
/examples/*.json
|
||||
/examples/example-list.js
|
||||
/examples/example-list.xml
|
||||
/test/requireall.js
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
before_install:
|
||||
- "sudo pip install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz"
|
||||
- "git clone https://github.com/jsdoc3/jsdoc && (cd jsdoc && git checkout master)"
|
||||
- "git clone --depth=50 https://github.com/jsdoc3/jsdoc build/jsdoc"
|
||||
- "git clone https://code.google.com/p/glsl-unit/ build/glsl-unit"
|
||||
|
||||
before_script:
|
||||
@@ -9,4 +9,4 @@ before_script:
|
||||
- "rm src/ol/renderer/webgl/*shader.js"
|
||||
- "sleep 3"
|
||||
|
||||
script: "./build.py JSDOC=jsdoc/jsdoc integration-test"
|
||||
script: "./build.py JSDOC=build/jsdoc/jsdoc integration-test"
|
||||
|
||||
8
build.py
8
build.py
@@ -415,7 +415,7 @@ def plovr_jar(t):
|
||||
os.path.basename(PLOVR_JAR), md5=PLOVR_JAR_MD5)
|
||||
|
||||
|
||||
@target('gh-pages', 'hostexamples', 'doc', phony=True)
|
||||
@target('gh-pages', 'host-examples', 'doc', phony=True)
|
||||
def gh_pages(t):
|
||||
with t.tempdir() as tempdir:
|
||||
t.run('%(GIT)s', 'clone', '--branch', 'gh-pages',
|
||||
@@ -472,8 +472,8 @@ def split_example_file(example, dst_dir):
|
||||
target_require.close()
|
||||
|
||||
|
||||
@target('hostexamples', 'build', 'examples', phony=True)
|
||||
def hostexamples(t):
|
||||
@target('host-examples', 'build', 'examples', phony=True)
|
||||
def host_examples(t):
|
||||
examples_dir = 'build/gh-pages/%(BRANCH)s/examples'
|
||||
build_dir = 'build/gh-pages/%(BRANCH)s/build'
|
||||
t.rm_rf(examples_dir)
|
||||
@@ -508,7 +508,7 @@ def hostexamples(t):
|
||||
'--output_file', 'build/gh-pages/%(BRANCH)s/build/ol-deps.js')
|
||||
|
||||
|
||||
@target('check-examples', 'hostexamples', phony=True)
|
||||
@target('check-examples', 'host-examples', phony=True)
|
||||
def check_examples(t):
|
||||
examples = ['build/gh-pages/%(BRANCH)s/' + e for e in EXAMPLES]
|
||||
all_examples = \
|
||||
|
||||
Reference in New Issue
Block a user