From b3eaf788dd0f5892c0fbe1deb4805e5f002a80a3 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 15 Dec 2014 14:16:57 -0800 Subject: [PATCH] Updating build pull to pull to pull in parallel --- makefile.shade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile.shade b/makefile.shade index e553eee022..1ed65dfe92 100644 --- a/makefile.shade +++ b/makefile.shade @@ -8,6 +8,7 @@ use namespace='System.Collections.Generic' use namespace='System.Net' use namespace='System.Linq' use namespace='System.Text.RegularExpressions' +use namespace='System.Threading.Tasks' use import="BuildEnv" functions @@ -81,10 +82,10 @@ var buildTarget = "compile" #git-pull target='pull' @{ - foreach(var repo in repos) + Parallel.ForEach(repos, repo => { CloneOrUpdate(repo); - } + }); } #verify-all .pull .change-default-build-target .only-compile