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')}