Merge pull request #454 from twpayne/download-plovr-into-build-dir
Download plovr into build dir
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
/bin/plovr*.jar
|
|
||||||
/build
|
/build
|
||||||
/examples/*.html.png
|
/examples/*.html.png
|
||||||
/examples/example-list.js
|
/examples/example-list.js
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ SRC = [path
|
|||||||
if path.endswith('.js')
|
if path.endswith('.js')
|
||||||
if path not in SHADER_SRC]
|
if path not in SHADER_SRC]
|
||||||
|
|
||||||
PLOVR_JAR = 'bin/plovr-eba786b34df9.jar'
|
PLOVR_JAR = 'build/plovr-eba786b34df9.jar'
|
||||||
PLOVR_JAR_MD5 = '20eac8ccc4578676511cf7ccbfc65100'
|
PLOVR_JAR_MD5 = '20eac8ccc4578676511cf7ccbfc65100'
|
||||||
|
|
||||||
PROJ4JS = 'build/proj4js/lib/proj4js-combined.js'
|
PROJ4JS = 'build/proj4js/lib/proj4js-combined.js'
|
||||||
@@ -410,8 +410,10 @@ virtual('plovr', PLOVR_JAR)
|
|||||||
|
|
||||||
@target(PLOVR_JAR, clean=False)
|
@target(PLOVR_JAR, clean=False)
|
||||||
def plovr_jar(t):
|
def plovr_jar(t):
|
||||||
|
t.info('downloading %r', t.name)
|
||||||
t.download('https://plovr.googlecode.com/files/' +
|
t.download('https://plovr.googlecode.com/files/' +
|
||||||
os.path.basename(PLOVR_JAR), md5=PLOVR_JAR_MD5)
|
os.path.basename(PLOVR_JAR), md5=PLOVR_JAR_MD5)
|
||||||
|
t.info('downloaded %r', t.name)
|
||||||
|
|
||||||
|
|
||||||
@target('gh-pages', 'host-examples', 'doc', phony=True)
|
@target('gh-pages', 'host-examples', 'doc', phony=True)
|
||||||
@@ -530,8 +532,10 @@ def proj4js(t):
|
|||||||
|
|
||||||
@target(PROJ4JS_ZIP, clean=False)
|
@target(PROJ4JS_ZIP, clean=False)
|
||||||
def proj4js_zip(t):
|
def proj4js_zip(t):
|
||||||
|
t.info('downloading %r', t.name)
|
||||||
t.download('http://download.osgeo.org/proj4js/' +
|
t.download('http://download.osgeo.org/proj4js/' +
|
||||||
os.path.basename(t.name), md5=PROJ4JS_ZIP_MD5)
|
os.path.basename(t.name), md5=PROJ4JS_ZIP_MD5)
|
||||||
|
t.info('downloaded %r', t.name)
|
||||||
|
|
||||||
|
|
||||||
@target('test', INTERNAL_SRC, PROJ4JS, 'build/test/requireall.js', phony=True)
|
@target('test', INTERNAL_SRC, PROJ4JS, 'build/test/requireall.js', phony=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user