Files
Alfonso de la Guarda Reyes 03e3f70654 Make run builds valid CAMOU_CONFIG JSON (#1072) (#1082)
* fix(build): make run builds valid CAMOU_CONFIG JSON (#1072)

`make run` appended `"debug": true` by stripping the last character of
CAMOU_CONFIG, so the default `{}` became `{, "debug": true}`. MaskConfig
rejected it and debug mode never turned on. The value is now built with
json, which also accepts an unset or empty CAMOU_CONFIG. A regression test
runs the real recipe against a stub `mach`.

Ref #1072

* fix(build): stop make run when CAMOU_CONFIG is not JSON (#1072)

Review of the first version: the JSON rewrite ran inside mach's environment
assignment, so a parse failure still launched mach with an empty config. The
assignment is now its own command in the && chain, and the recipe stops on
it.

Ref #1072

* test(build): keep make's recipe echo out of the make run test output (#1072)

make echoes each recipe line to stdout, so the check that mach never ran
read the echo as output. The helper runs make with --silent; the other
cases read only the last line, which mach prints.

Ref #1072
2026-11-18 20:44:40 +00:00
..