Reorder pipeline scripts
This commit is contained in:
parent
b5d354a92b
commit
f9c9fbd0be
5 changed files with 15 additions and 13 deletions
0
code/nel/tools/build_gamedata/4_worldedit_data.py
Normal file
0
code/nel/tools/build_gamedata/4_worldedit_data.py
Normal file
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# \file 4_shard_install.py
|
||||
# \file 8_shard_data.py
|
||||
# \brief Install shard data
|
||||
# \date 2009-02-18 16:19GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
# Python port of game data build pipeline.
|
||||
# Install to data shard
|
||||
# Install shard data
|
||||
#
|
||||
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
# Copyright (C) 2010 Winch Gate Property Limited
|
||||
|
@ -40,7 +40,7 @@ from projects import *
|
|||
# Log error
|
||||
printLog(log, "")
|
||||
printLog(log, "-------")
|
||||
printLog(log, "--- Install to shard")
|
||||
printLog(log, "--- Install shard data")
|
||||
printLog(log, "-------")
|
||||
printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time())))
|
||||
printLog(log, "")
|
||||
|
@ -58,7 +58,7 @@ for dir in InstallShardDataCollisionsDirectories:
|
|||
printLog(log, "")
|
||||
|
||||
log.close()
|
||||
if os.path.isfile("4_shard_install.log"):
|
||||
os.remove("4_shard_install.log")
|
||||
if os.path.isfile("8_shard_data.log"):
|
||||
os.remove("8_shard_data.log")
|
||||
shutil.copy("log.log", time.strftime("%Y-%m-%d-%H-%M-GMT", time.gmtime(time.time())) + "_shard_install.log")
|
||||
shutil.move("log.log", "4_shard_install.log")
|
||||
shutil.move("log.log", "8_shard_data.log")
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# \file 8_upload.py
|
||||
# \file 9_upload.py
|
||||
# \brief Upload data to servers
|
||||
# \date 2009-02-18 16:19GMT
|
||||
# \author Jan Boon (Kaetemi)
|
||||
|
@ -175,7 +175,7 @@ for target in UploadPrimitives:
|
|||
uploadSftp(target[0], target[1], target[2], target[3], PrimitivesDirectory, [ ])
|
||||
|
||||
log.close()
|
||||
if os.path.isfile("8_upload.log"):
|
||||
os.remove("8_upload.log")
|
||||
if os.path.isfile("9_upload.log"):
|
||||
os.remove("9_upload.log")
|
||||
shutil.copy("log.log", time.strftime("%Y-%m-%d-%H-%M-GMT", time.gmtime(time.time())) + "_upload.log")
|
||||
shutil.move("log.log", "8_upload.log")
|
||||
shutil.move("log.log", "9_upload.log")
|
|
@ -4,14 +4,16 @@ TITLE 2_build.py
|
|||
2_build.py
|
||||
TITLE 3_install.py
|
||||
3_install.py
|
||||
TITLE 4_data_shard.py
|
||||
4_data_shard.py
|
||||
TITLE 4_worldedit_data.py
|
||||
4_worldedit_data.py
|
||||
TITLE 5_client_dev.py
|
||||
5_client_dev.py
|
||||
TITLE 6_client_patch.py
|
||||
6_client_patch.py -bo
|
||||
TITLE 7_client_install.py
|
||||
7_client_install.py
|
||||
TITLE 8_shard_data.py
|
||||
8_shard_data.py
|
||||
PAUSE
|
||||
|
||||
|
||||
|
|
|
@ -27,5 +27,5 @@
|
|||
import shutil, subprocess
|
||||
|
||||
subprocess.call([ "python", "3_install.py" ])
|
||||
subprocess.call([ "python", "4_data_shard.py" ])
|
||||
subprocess.call([ "python", "8_shard_data.py" ])
|
||||
|
||||
|
|
Loading…
Reference in a new issue