From ef0fe29dbd19111c40da86544d21c49e584012af Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 3 May 2020 15:59:56 +0300 Subject: [PATCH] fetch target source code to designated directory --- .gitignore | 11 +---------- build.py | 2 +- source/.gitignore | 1 + 3 files changed, 3 insertions(+), 11 deletions(-) create mode 100644 source/.gitignore diff --git a/.gitignore b/.gitignore index 8fe897cb..ce8704ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,3 @@ -# Generated directories +/.idea/ /build/ /prefix/ - -# Targets -/gzdoom/ -/lzdoom/ -/qzdoom/ -/raze/ - -# IDE -/.idea/ diff --git a/build.py b/build.py index 09a09840..afd7b5c6 100755 --- a/build.py +++ b/build.py @@ -129,7 +129,7 @@ def create_configuration(args: list): if 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: assert arguments.source_path config.source_path = arguments.source_path diff --git a/source/.gitignore b/source/.gitignore new file mode 100644 index 00000000..33662f55 --- /dev/null +++ b/source/.gitignore @@ -0,0 +1 @@ +/*