Compare commits

...

1 Commits

Author SHA1 Message Date
NewSoupVi
938d6c9bd4 APQuest: Improve the auto-generated .gitignore for data/sounds
I didn't quite think this through: In this specific case, you want the gitignore to also ignore itself, since it itself is an auto-generated file.
2025-11-25 14:53:22 +01:00

View File

@@ -16,10 +16,6 @@ def make_data_directory(dir_name: str) -> Path:
gitignore = specific_data_directory / ".gitignore"
with open(gitignore, "w") as f:
f.write(
"""*
!.gitignore
"""
)
f.write("*\n")
return specific_data_directory