Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / build_gamedata / generators / generate_all.py
blob29060647d6990645c143bbba3a33fdca8fd9351f
1 #!/usr/bin/python
2 #
3 # \file 0_setup.py
4 # \brief Run all setup processes
5 # \date 2009-02-18 15:28GMT
6 # \author Jan Boon (Kaetemi)
7 # Python port of game data build pipeline.
8 # Run all setup processes
9 #
10 # NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
11 # Copyright (C) 2009-2014 by authors
13 # This program is free software: you can redistribute it and/or modify
14 # it under the terms of the GNU Affero General Public License as
15 # published by the Free Software Foundation, either version 3 of the
16 # License, or (at your option) any later version.
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU Affero General Public License for more details.
23 # You should have received a copy of the GNU Affero General Public License
24 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27 import time, sys, os, shutil, subprocess, distutils.dir_util
28 sys.path.append("../configuration")
29 if os.path.isfile("generate_all.log"):
30 os.remove("generate_all.log")
31 log = open("generate_all.log", "w")
32 from scripts import *
33 from buildsite import *
34 from tools import *
36 printLog(log, "")
37 printLog(log, "-------")
38 printLog(log, "--- Generate all")
39 printLog(log, "-------")
40 printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time())))
41 printLog(log, "")
44 try:
45 subprocess.call([ "python", "generate_simple_max_exporters.py" ])
46 except Exception, e:
47 printLog(log, "<" + processName + "> " + str(e))
48 printLog(log, "")
51 try:
52 subprocess.call([ "python", "generate_tagged_max_exporters.py" ])
53 except Exception, e:
54 printLog(log, "<" + processName + "> " + str(e))
55 printLog(log, "")
58 try:
59 subprocess.call([ "python", "generate_ecosystem_projects.py" ])
60 except Exception, e:
61 printLog(log, "<" + processName + "> " + str(e))
62 printLog(log, "")
65 log.close()