Move steps to run before build to avoid problems
Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
be35ba5073
commit
bb0cfed422
1 changed files with 3 additions and 3 deletions
|
@ -151,13 +151,13 @@ def after_build(name):
|
|||
if os.path.isfile("./scripts/afterbuild-success"):
|
||||
os.system("./scripts/afterbuild-success " + name + " &")
|
||||
|
||||
run("rm -rf projects/worldbuild/scenery/*")
|
||||
run("./clear-cache-files worldbuild")
|
||||
|
||||
def prepare():
|
||||
run("./delete-db worldbuild")
|
||||
run("./create-db worldbuild")
|
||||
|
||||
run("rm -rf projects/worldbuild/scenery/*")
|
||||
run("./clear-cache-files worldbuild")
|
||||
|
||||
def run_all(name, w, s, e, n, chunk_size, threads, cont=False):
|
||||
global pbf_path
|
||||
if os.system("ls -l " + pbf_path + name + ".osm.pbf | grep ' 73 ' > /dev/null") != 0:
|
||||
|
|
Loading…
Reference in a new issue