rake icon indicating copy to clipboard operation
rake copied to clipboard

How to soft assert tasks?

Open mcandre opened this issue 6 years ago • 0 comments

Hi, I'm a fan of Rake and love how it helps to ensure my Ruby projects build more reliably on different platforms!

One thing I am curious about with Rake is how to write tasks as soft assertions. For example, what syntax could I use so that a task tree called :lint with several child linter shell commands, allows the full linter suite to run in the event of any error codes, and only reports the error code at the very end of the :lint execution?

mcandre avatar Jul 03 '19 18:07 mcandre