Fix hostexamples target

Add missing bootstrap dir and examples.css
This commit is contained in:
Frederic Junod
2013-03-06 13:01:39 +01:00
parent 0007ec95de
commit a8ec0c95a0

View File

@@ -367,8 +367,9 @@ def hostexamples(t):
t.rm_rf(build_dir)
t.makedirs(build_dir)
t.cp(EXAMPLES, (path.replace('.html', '.js') for path in EXAMPLES),
'examples/style.css', examples_dir)
'examples/examples.css', examples_dir)
t.cp_r('examples/data', examples_dir + '/data')
t.cp_r('examples/bootstrap', examples_dir + '/bootstrap')
t.cp('build/loader_hosted_examples.js', examples_dir + '/loader.js')
t.cp('build/ol.js', 'build/ol-simple.js', 'build/ol-whitespace.js',
'build/ol.css', build_dir)