Updating build pull to pull to pull in parallel

This commit is contained in:
Pranav K 2014-12-15 14:16:57 -08:00
parent 4114c872ac
commit b3eaf788dd
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ use namespace='System.Collections.Generic'
use namespace='System.Net' use namespace='System.Net'
use namespace='System.Linq' use namespace='System.Linq'
use namespace='System.Text.RegularExpressions' use namespace='System.Text.RegularExpressions'
use namespace='System.Threading.Tasks'
use import="BuildEnv" use import="BuildEnv"
functions functions
@ -81,10 +82,10 @@ var buildTarget = "compile"
#git-pull target='pull' #git-pull target='pull'
@{ @{
foreach(var repo in repos) Parallel.ForEach(repos, repo =>
{ {
CloneOrUpdate(repo); CloneOrUpdate(repo);
} });
} }
#verify-all .pull .change-default-build-target .only-compile #verify-all .pull .change-default-build-target .only-compile