Skip to content

How to soft assert tasks? #318

@mcandre

Description

@mcandre

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions