Skip to content

Commit

Permalink
Re-adding accidently removed line
Browse files Browse the repository at this point in the history
This brings back the previous way to copy the data directory,
as suggested by @elemoine.
  • Loading branch information
ahocevar committed Apr 9, 2013
1 parent 696fc8c commit 97f7eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ def host_examples(t):
t.makedirs(examples_dir)
t.rm_rf(build_dir)
t.makedirs(build_dir)
t.rm_rf(examples_dir)
t.cp_r('examples', examples_dir)
t.cp(EXAMPLES, examples_dir)
for example in [path.replace('.html', '.js') for path in EXAMPLES]:
split_example_file(example, examples_dir % vars(variables))
t.cp_r('examples/data', examples_dir + '/data')
t.cp('bin/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)
Expand Down

0 comments on commit 97f7eb3

Please sign in to comment.