fetch target source code to designated directory

This commit is contained in:
alexey.lysiuk 2020-05-03 15:59:56 +03:00
parent 4d4860a8c1
commit ef0fe29dbd
3 changed files with 3 additions and 11 deletions

11
.gitignore vendored
View file

@ -1,12 +1,3 @@
# Generated directories /.idea/
/build/ /build/
/prefix/ /prefix/
# Targets
/gzdoom/
/lzdoom/
/qzdoom/
/raze/
# IDE
/.idea/

View file

@ -129,7 +129,7 @@ def create_configuration(args: list):
if arguments.target: if arguments.target:
config.target = targets[arguments.target] config.target = targets[arguments.target]
config.source_path = config.root_path + config.target.name config.source_path = config.root_path + 'source' + os.sep + config.target.name
else: else:
assert arguments.source_path assert arguments.source_path
config.source_path = arguments.source_path config.source_path = arguments.source_path

1
source/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/*