I've been using make as a task-runner so far (*shudder*) and liked using informative / "quiet" commands like this, where the echo is not printed; only the resulting Hello, World!:
.PHONY: hello
hello:
@echo "Hello, World!"
...
This is supported at the commandline level through -q/--quiet already. I found #54 and know that I can also print something else with print: .... But I would like to be able to be "quiet" per command or an entire task – permanently.
I had not opened an issue beforehand because this felt like a rather trivial feature at first; the first commit adds the quietness per command. The second commit took a little longer and adds inheritance from parent tasks in the stack, too. The examples from the docs:
I've been using
make
as a task-runner so far (*shudder*) and liked using informative / "quiet" commands like this, where theecho
is not printed; only the resultingHello, World!
:This is supported at the commandline level through
-q
/--quiet
already. I found #54 and know that I can also print something else withprint: ...
. But I would like to be able to be "quiet" per command or an entire task – permanently.I had not opened an issue beforehand because this felt like a rather trivial feature at first; the first commit adds the quietness per command. The second commit took a little longer and adds inheritance from parent tasks in the stack, too. The examples from the docs:
Note that inheritance does not work in the third form (
quietSubtask
) wheninfo
is marked asprivate: true
..