Skip to content
Snippets Groups Projects
Commit bfaed4f8 authored by Ralf Mueller's avatar Ralf Mueller
Browse files

Add task "par" for parallel execution

parent 7f8ba8ea
No related branches found
No related tags found
No related merge requests found
......@@ -240,6 +240,20 @@ Builder = Struct.new(:host,:hostname,:username,:compiler,:targetDir,:configureCa
} if @userConfig.has_key?('builders')
# }}}
#
task :par do |t|
# remove all tasks from the stack
Rake.application.top_level_tasks.clear
# create a task list from the command line
ARGV.shift
taskList = ARGV
dbg(taskList)
Parallel.map(taskList) {|t|
sh "xterm -hold -e 'rake #{t}' "
}
end
# check connections {{{
desc "check available connections"
task :checkConnections do |t|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment