diff tools/build.py @ 22:ad1b478fc4dc

balancing work, docs and scripts
author ark
date 2026-10-20 03:08 +0200
parents 3a831478eda4
children 2f555a54c332
line wrap: on
line diff
--- a/tools/build.py	Tue Oct 20 00:44:02 2026 +0200
+++ b/tools/build.py	Tue Oct 20 03:08:56 2026 +0200
@@ -46,7 +46,8 @@
 # route data of the last mask step, read when the step is skipped
 MAPS_CACHE = TEMP / "build" / "maps.json"
 
-TOOLS = sorted((ROOT / "tools").glob("*.py"))
+# build scripts; tools/balance.py only reads the build's output
+TOOLS = sorted(p for p in (ROOT / "tools").glob("*.py") if p.name != "balance.py")
 HEADER = "// generated by tools/build.py from {src}, do not edit\n"
 
 SPRITES = (["m%d" % i for i in range(5)] + ["b%d" % i for i in range(4)]