-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concurrent/Parallel tasks #321
Comments
thanks, its a really good idea. |
@emigr2k1 I just pushed a commit with the parallel support. Simple example: [tasks.echo1]
command = "echo"
args = ["1"]
[tasks.echo2]
command = "echo"
args = ["2"]
[tasks.parallel-multi]
run_task = { name = ["echo1", "echo2"], parallel = true } |
@sagiegurari Wow! That was quick. |
no need to close. i usually close when i officially release it |
This is now officially release so i'm closing this issue. |
Features Description
This feature would allow to run a parent task that executes other children tasks parallelly. The parent task would only finish after all children tasks have finished.
Describe the solution you'd like
If I have something like
then I run
cargo make build
, it should execute build-ts and build-sass parallelly.There is a problem with the output of both tasks because they would be interlapping. This could be fixed by buffering the output of each task and only write it to stdout when the task finishes. Stderr output could be written directly, maybe. I didn't think much about this.
The text was updated successfully, but these errors were encountered: