mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Now the project setup script's module folders are customizable.
This commit is contained in:
parent
8277e89075
commit
91bba51de6
@ -245,7 +245,7 @@ def update_engine():
|
||||
def update_modules():
|
||||
for rep in module_config.module_repositories:
|
||||
update_repository(rep, module_clone_path)
|
||||
copy_repository(rep, './pandemonium_engine/modules/', '.' + module_clone_path)
|
||||
copy_repository(rep, module_config.module_install_folder, '.' + module_clone_path)
|
||||
|
||||
def update_addons():
|
||||
for rep in module_config.addon_repositories:
|
||||
@ -273,10 +273,10 @@ def setup_engine():
|
||||
def setup_modules():
|
||||
for rep in module_config.module_repositories:
|
||||
setup_repository(rep, module_clone_path)
|
||||
copy_repository(rep, './pandemonium_engine/modules/', '.' + module_clone_path)
|
||||
copy_repository(rep, module_config.module_install_folder, '.' + module_clone_path)
|
||||
|
||||
for rep in module_config.removed_modules:
|
||||
remove_repository(rep, './pandemonium_engine/modules/')
|
||||
remove_repository(rep, module_config.module_install_folder)
|
||||
|
||||
|
||||
def setup_addons():
|
||||
@ -619,6 +619,9 @@ if env['t']:
|
||||
if not os.path.isdir('./modules'):
|
||||
os.mkdir('./modules')
|
||||
|
||||
if len(module_config.module_repositories) > 0 and not os.path.isdir(module_config.module_install_folder):
|
||||
os.mkdir(module_config.module_install_folder)
|
||||
|
||||
if 'm' in action:
|
||||
pandemonium_branch = 'master'
|
||||
|
||||
|
@ -3,6 +3,9 @@ pandemonium_branch = 'master'
|
||||
|
||||
engine_repository = [ ['https://github.com/Relintai/pandemonium_engine.git', 'git@github.com:Relintai/pandemonium_engine.git'], 'pandemonium_engine', '' ]
|
||||
|
||||
# Relative to this script's directory
|
||||
module_install_folder = './pandemonium_engine/modules/'
|
||||
|
||||
module_repositories = [
|
||||
#[ ['https://github.com/Relintai/entity_spell_system.git', 'git@github.com:Relintai/entity_spell_system.git'], 'entity_spell_system', '' ],
|
||||
#[ ['https://github.com/Relintai/ui_extensions.git', 'git@github.com:Relintai/ui_extensions.git'], 'ui_extensions', '' ],
|
||||
@ -28,6 +31,7 @@ addon_repositories = [
|
||||
third_party_addon_repositories = [
|
||||
]
|
||||
|
||||
# Relative to the engine directory
|
||||
custom_module_folders = ""
|
||||
|
||||
slim_args = 'module_webm_enabled=no module_arkit_enabled=no module_visual_script_enabled=no module_gdnative_enabled=no module_mobile_vr_enabled=no module_theora_enabled=no module_xatlas_unwrap_enabled=no'
|
||||
|
Loading…
Reference in New Issue
Block a user