[RFC PATCH v3 0/1] per-target .ONESHELL support

2024-11-18 Thread Britton Leo Kerin
This is the cleaned up version that has a flag rather than twiddling the global. I think it's all reasonably ready now and if there's any possibility of getting it included I'll add tests and documentation. Britton Leo Kerin (1): Support per-target .ONESHELL src/commands.c | 2 +- src/comman

[RFC PATCH v3 1/1] Support per-target .ONESHELL

2024-11-18 Thread Britton Leo Kerin
.ONESHELL is now handled entirely in snap_deps(). I don't think it ever needs to happen as early as check_specials(), and doing it in snap_deps() is easier and allows a good warning to be given if it's used with a dependency that doesn't end up with a recipe. The per target oneshell flag has been