amperity / lein-monolith

Leiningen plugin for working with monorepos.
Other
214 stars 18 forks source link

Add :silent option to each task #81

Closed greglook closed 3 years ago

greglook commented 3 years ago

This change adds a new :silent option to the each task. When set, the output of projects is captured instead of streamed to the standard out and error streams. If a project fails, the output is then printed in full. This has two nice properties; first, in large CI builds users often only care about failing project output, but one failing project out of two hundred can be difficult to find. Second, this change introduces an output lock, so multiple concurrent project failures will not be interleaved.

This functionality is orthogonal to the :output <dir> option; successful project output is still logged to the output file even if it is suppressed with :silent.

Fixes #37