Reputation: 113
I am trying to run multiple task in parallel to reduce time for my builds. But it seems like tasks are executing one after another sequentially. This is taking too much time for my builds. Is there any way to run multiple tasks in parallel in NAnt?
Upvotes: 4
Views: 2320
Reputation: 11
Have a look at https://github.com/NAntCrossCompile/NAnt.Parallel There is a plugin in development which allows the parallel execution of tasks based on sets of files, folders, strings...
Upvotes: 1
Reputation: 366
Looks like this has been asked before. See NAnt: parallel threads for execution of tasks; does this exist?
Not the best question/answer, since the answer was moved out of a comment, which links to a blog that does have code. See AsyncExec and WaitForExit Speeding Up The Build To Do More
Even that only gets to the example of how to use the code at Async Tasks zip file
I have not used the code, but was searching NAnt. I had only used the parallelism of multiple build machines.
Upvotes: 1