Open ndmitchell opened 11 years ago
Add a new verbosity setting, somewhere between Quiet
and Normal
- perhaps Compact
? Then in that mode, any cmd
call automatically turns on ignoring stdout and stderr. Any call to putNormal
reuses the same line. Should be fairly easy to do.
:+1: for that. Can you put an option --Quiet-if-ok
that only display the command name and no output if all is ok and command and stdout if an error ocurred?
See https://groups.google.com/d/msg/shake-build-system/ZPyTIfVL-dA/JtBrCyJSAgAJ for a description and code of how to do it better, in particular with a video at https://asciinema.org/a/c7f3jybf7qwwt0i2lo6r02ifs. All from @nomeata.
BTW, the video is of a run with -j 1
, which is half as fun. But rest assured that even with -j 2
it does just what you would expect :-)
I wrote a new mode --compact
which follows more the style of Buck/Bazel. Picture at https://asciinema.org/a/228061
Nice.
Sub-second-precision is a bit noisy (and silly when the view is updated every 0.1s+skew, or is that an asciicast artifact?). Maybe only show time after one second, and then rounded down to full seconds).
Good suggestions: https://asciinema.org/a/228101
That's better :-)
Add a new verbosity setting, somewhere between
Quiet
andNormal
- perhapsCompact
?
Quiet
and Normal
renamed to Error
and Info
, the Warn
level verbosity, which is reachable with one -q
added.
If you write one line per build thing, you get a wall of text. Do something like Ninja and have one line I keep reusing, at least as an option.