Removing the build-all target
The ol-all.json and ol.json build configurations differ only in their use of the manage_closure_dependencies Compiler option. I don't think there is value in running both (there are plenty of other compiler options that we don't exercise in this same way).
This commit is contained in:
14
build.py
14
build.py
@@ -123,14 +123,14 @@ def report_sizes(t):
|
||||
virtual('default', 'build')
|
||||
|
||||
|
||||
virtual('ci', 'lint', 'jshint', 'build', 'build-all',
|
||||
'test', 'build/examples/all.combined.js', 'check-examples', 'apidoc')
|
||||
virtual('ci', 'lint', 'jshint', 'build', 'test',
|
||||
'build/examples/all.combined.js', 'check-examples', 'apidoc')
|
||||
|
||||
|
||||
virtual('build', 'build/ol.css', 'build/ol.js', 'build/ol-debug.js')
|
||||
|
||||
|
||||
virtual('check', 'lint', 'jshint', 'build/ol-all.js', 'test')
|
||||
virtual('check', 'lint', 'jshint', 'test')
|
||||
|
||||
|
||||
virtual('todo', 'fixme')
|
||||
@@ -153,14 +153,6 @@ def build_ol_debug_js(t):
|
||||
report_sizes(t)
|
||||
|
||||
|
||||
virtual('build-all', 'build/ol-all.js')
|
||||
|
||||
|
||||
@target('build/ol-all.js', SRC, SHADER_SRC, 'buildcfg/ol-all.json')
|
||||
def build_ol_all_js(t):
|
||||
t.run('node', 'tasks/build.js', 'buildcfg/ol-all.json', 'build/ol-all.js')
|
||||
|
||||
|
||||
for glsl_src in GLSL_SRC:
|
||||
def shader_src_helper(glsl_src):
|
||||
@target(glsl_src.replace('.glsl', 'shader.js'), glsl_src,
|
||||
|
||||
Reference in New Issue
Block a user