From bfecc8bcee9ff84c143388598a96d1090457e0b3 Mon Sep 17 00:00:00 2001 From: Furior Date: Thu, 13 Jul 2023 05:58:29 +0700 Subject: [PATCH] Fixed? --- tools/ci/unticked_files.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/ci/unticked_files.py b/tools/ci/unticked_files.py index 775d29b16423..351dfbeadd58 100644 --- a/tools/ci/unticked_files.py +++ b/tools/ci/unticked_files.py @@ -26,8 +26,9 @@ IGNORE_FILES = { # Included directly in the function /datum/tgs_api/v5#ApiVersion - 'code/modules/tgs/v5/v5_interop_version.dm' - 'modular_ss220/example/code/example.dm' + 'code/modules/tgs/v5/v5_interop_version.dm', + # Example files. They should not be included in the build + 'modular_ss220/example/code/example.dm', 'modular_ss220/example/_example.dm' } @@ -40,7 +41,7 @@ def get_unticked_files(root:Path): nested_dmes = [file for file in included if ".dme" in file] print(f'Found {len(included)} includes and {len(nested_dmes)} nested .dme\'s in {root / includer}') ticked_files.update([root / Path(includer).parent / Path(PureWindowsPath(i)) for i in included]) - print(f"DEBUG {nested_dmes}") + if nested_dmes: print(f"Additional include files: {nested_dmes}") INCLUDER_FILES.extend([file.replace("\\", "/") for file in nested_dmes]) all_dm_files = {f for f in root.glob('**/*.dm')}