Make build with the new ab --- but the tests fail.

This commit is contained in:
David Given
2025-03-17 22:33:54 +01:00
parent 0f763fe06b
commit 15a69f6dcb
57 changed files with 220 additions and 148 deletions

View File

@@ -58,7 +58,7 @@ def objectify(self, name, src: Target, symbol):
replaces=self,
ins=["build/_objectify.py", src],
outs=[f"={basename(filenameof(src))}.h"],
commands=["$(PYTHON) {ins[0]} {ins[1]} " + symbol + " > {outs}"],
commands=["$(PYTHON) $[ins[0]] $[ins[1]] " + symbol + " > $[outs]"],
label="OBJECTIFY",
)
@@ -78,7 +78,7 @@ def test(
replaces=self,
ins=[command],
outs=["=sentinel"],
commands=["{ins[0]}", "touch {outs}"],
commands=["$[ins[0]]", "touch $[outs]"],
deps=deps,
label=label,
)
@@ -87,7 +87,7 @@ def test(
replaces=self,
ins=ins,
outs=["=sentinel"],
commands=commands + ["touch {outs}"],
commands=commands + ["touch $[outs]"],
deps=deps,
label=label,
)