Hacker News new | ask | show | jobs
by stormbrew 4099 days ago
Why would you not want to consider the step failed if it didn't produce all its expected targets?
1 comments

Yeah, that's my point: if you're happy with this all-or-nothing logic, you can just use dummy target files.

Allowing steps to partially succeed seems like adding quite a lot of complexity, and I'm not sure where it would be beneficial.

Dummy target files don't work if the files are deleted elsewhere --- i.e. not as part of the make pipeline.