1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-24 06:03:28 +00:00

Haven't been hoisted by this petard for a while

I really should move this to Gradle. Probably should just write my own
plugin at this point.
This commit is contained in:
Jonathan Coates 2021-01-19 21:33:05 +00:00
parent 6d367e08a3
commit e1cbbe3628

View File

@ -3,7 +3,11 @@ import pathlib, sys
problems = False
# Skip images and files without extensions
exclude = [ "*.png", "**/data/json-parsing/*.json" ]
exclude = [
"*.png",
"**/data/json-parsing/*.json",
"**/computers/ids.json",
]
for path in pathlib.Path("src").glob("**/*"):
# Ideally we'd use generated as a glob, but .match("generated/**/*.json") doesn't work!