2014-02-07 13:54:45 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
#
|
|
|
|
# \file directories.py
|
|
|
|
# \brief Directories configuration
|
2014-02-13 21:03:02 +00:00
|
|
|
# \date 2014-02-13 20:32GMT
|
2014-02-07 13:54:45 +00:00
|
|
|
# \author Jan Boon (Kaetemi)
|
|
|
|
# Python port of game data build pipeline.
|
|
|
|
# Directories configuration.
|
|
|
|
#
|
|
|
|
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
2014-02-13 21:03:02 +00:00
|
|
|
# Copyright (C) 2014 by authors
|
2014-02-07 13:54:45 +00:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero General Public License as
|
|
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
|
|
# License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
from buildsite import *
|
2014-02-09 01:25:44 +00:00
|
|
|
import os
|
2014-02-07 13:54:45 +00:00
|
|
|
|
|
|
|
# *** COMMON NAMES AND PATHS ***
|
2014-02-13 21:03:02 +00:00
|
|
|
CommonName = "data_language"
|
|
|
|
CommonPath = "shard/" + CommonName
|
2014-02-07 13:54:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# *** DIRECT SOURCE DIRECTORIES ***
|
|
|
|
|
|
|
|
# Copy dir directories
|
|
|
|
CopyDirectSourceDirectories = [ ]
|
|
|
|
CopyDirectSourceFiles = [ ]
|
2014-02-09 01:25:44 +00:00
|
|
|
translationFileList = os.listdir(TranslationDirectory + "/translated")
|
|
|
|
for fileName in translationFileList:
|
|
|
|
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
|
|
|
|
if fileName.endswith(".txt"):
|
|
|
|
CopyDirectSourceFiles += [ TranslationDirectory + "/translated/" + fileName ]
|
2014-02-07 13:54:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
|
|
|
|
CopyLeveldesignSourceDirectories = [ ]
|
|
|
|
CopyLeveldesignSourceFiles = [ ]
|
|
|
|
CopyLeveldesignWorldSourceDirectories = [ ]
|
|
|
|
CopyLeveldesignWorldSourceFiles = [ ]
|
|
|
|
CopyLeveldesignDfnSourceDirectories = [ ]
|
|
|
|
CopyLeveldesignDfnSourceFiles = [ ]
|
|
|
|
|
|
|
|
|
|
|
|
# *** SOURCE DIRECTORIES IN THE DATABASE ***
|
|
|
|
|
|
|
|
# Copy dir directories
|
|
|
|
CopyDatabaseSourceDirectories = [ ]
|
|
|
|
CopyDatabaseSourceFiles = [ ]
|
|
|
|
|
|
|
|
|
|
|
|
# *** INSTALL DIRECTORIES IN THE CLIENT DATA ***
|
|
|
|
|
|
|
|
# Common data install directory
|
|
|
|
CopyInstallDirectory = CommonName
|