I use cabal new-run in scripts within my project to call the program that I am developing there, e.g. in the test suite. This is great, because it means I never accidentally test an old binary (my colleagues have to remember running stack build before running the test suite).
But now every invocation prints Up to date, which is a bit annoying and odd-looking in the build log. Would it be unreasonable to skip printing that?
See also #4789, which seems to be a more general solution.
I guess personally, I don’t even want the Up to date on stderr (it’d still show up in the terminal as I run these scripts). But of course that’s subjective.
How about cabal -v0 new-run? That's what I use.
I’ll have a look :-) … I guess that is good enough for me, so if others find the output useful, I’ll go with that.
Most helpful comment
How about
cabal -v0 new-run? That's what I use.