mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-25 19:07:39 +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:
@@ -3,7 +3,11 @@ import pathlib, sys
|
|||||||
problems = False
|
problems = False
|
||||||
|
|
||||||
# Skip images and files without extensions
|
# 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("**/*"):
|
for path in pathlib.Path("src").glob("**/*"):
|
||||||
# Ideally we'd use generated as a glob, but .match("generated/**/*.json") doesn't work!
|
# Ideally we'd use generated as a glob, but .match("generated/**/*.json") doesn't work!
|
||||||
|
|||||||
Reference in New Issue
Block a user