Skip to content

Exit plan on first failed task #6

@rtyler

Description

@rtyler
❯ RUST_LOG=info ./target/debug/zap plan examples/basic.zplan -t bsd
Running plan with: PlanOpts { plan: "examples/basic.zplan", targets: "bsd", dry_run: false }
 ERROR zap_model::plan > Failed to parse task: Error { variant: CustomError { message: "No such file or directory (os error 2)" }, location: Pos(0), line_col: Pos((1, 1)), path: None, line: "", continued_line: None }
 ERROR zap_model::plan > Failed to parse task: Error { variant: CustomError { message: "No such file or directory (os error 2)" }, location: Pos(0), line_col: Pos((1, 1)), path: None, line: "", continued_line: None }
 ERROR zap_model::plan > Failed to parse task: Error { variant: CustomError { message: "No such file or directory (os error 2)" }, location: Pos(0), line_col: Pos((1, 1)), path: None, line: "", continued_line: None }
 INFO  zap             > Plan located, preparing to execute

Basically after that first one zap should bail

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions