Re:The CD Pipeline Manifesto
by tom_ on Monday December 23, 2024 @02:21PM
(#42496913)
If you have a telltale prefix for any internal phony targets (I use "_"), then you can have the Makefile list all the interesting targets itself. Cat the Makefile, print every line matching "^\.PHONY:[[:space:]]*[^_]", then strip out the prefix. Leave any suffix, as you can put a trailing comment in, e.g.,
I find this super useful. Even if you remember exactly what the target was called, it still gives you a nice list of words you can double click on to pull into the command line.
[ Parent
| on HN ]
There are no comments on this comment yet.