You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to avoid having the capability of defining task dependencies in series as an explicit feature just to keep things simple since it's trivially done just by calling mise run inside of a task:
[tasks.build]
run = ['mise run a', 'mise run b', 'mise run c']
however, because of several reasons (which I can explain if people are curious but I don't think it matters all that much), this just isn't good enough. I think we may need a way to explicitly define dependencies should run in series. I think users will like this because mise run I've often thought users see as a bit of a kluge even though it works fine. How do you think this could look in mise.toml? I think I only have terrible ideas:
[tasks.build]
depends_series = ['a', 'b', 'c']
[tasks.build]
depends = ['a', '+', 'b', '+', 'c']
I'm not 100% sure I would actually implement this. The drawbacks of not having this are not things we can't live with. Part of the issue is coming up with good syntax but the other is the complexity in the codebase this would add (which I'm not too sure about right now). Also the complexity of just having more features to document and explain to people how to use is a cost I'm weighing. Still, good syntax is definitely a blocker for starting it.
The text was updated successfully, but these errors were encountered:
I've been trying to avoid having the capability of defining task dependencies in series as an explicit feature just to keep things simple since it's trivially done just by calling
mise run
inside of a task:however, because of several reasons (which I can explain if people are curious but I don't think it matters all that much), this just isn't good enough. I think we may need a way to explicitly define dependencies should run in series. I think users will like this because
mise run
I've often thought users see as a bit of a kluge even though it works fine. How do you think this could look inmise.toml
? I think I only have terrible ideas:I'm not 100% sure I would actually implement this. The drawbacks of not having this are not things we can't live with. Part of the issue is coming up with good syntax but the other is the complexity in the codebase this would add (which I'm not too sure about right now). Also the complexity of just having more features to document and explain to people how to use is a cost I'm weighing. Still, good syntax is definitely a blocker for starting it.
The text was updated successfully, but these errors were encountered: