tools/ public with a local config, private tools to .tth/tools/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-13 16:03:03 +01:00
1 parent b7b397b9b1
commit 845a228209
27 files changed
+5312 -4

No files matched your search

+10
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MIT
# CUSTOM (TeTeHacko): real version and build timestamp for the `ver` command.
#
# WIRE THIS INTO EVERY ENV WE FLASH. Without it the node reports the fallback
@@ -18,6 +19,15 @@
# Import("env") has to come first, hence the file-wide ruff exemption.
# ruff: noqa: F821, E402
# mypy: disable-error-code="name-defined"
if __name__ == "__main__": # run by hand (--help): the header above, nothing else
with open(__file__) as _f:
for _ln in _f:
if not _ln.startswith("#"):
break
if "SPDX-License-Identifier" not in _ln:
print(_ln[2:].rstrip() if _ln.startswith("# ") else "")
raise SystemExit(0)
Import("env")
import re
import subprocess