Is it possible to create a "handler" recipe? #1179
-
Given the following
I wonder if there is any way to run the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There isn't currently a way to do this. I've been thinking about it, but not sure how to do it in a reasonable way. One idea, which I don't think is particularly good, is to add a new kind of dependency:
Dependencies after only |
Beta Was this translation helpful? Give feedback.
There isn't currently a way to do this. I've been thinking about it, but not sure how to do it in a reasonable way. One idea, which I don't think is particularly good, is to add a new kind of dependency:
Dependencies after only
||
run if the recipe fails, analogously to the current&& dependency
syntax, which runs after a recipe if it succeeds. I feel like this is probably too brittle, and won't work for enough use-cases to be worth it.