* Update pull-all to perform pull in parallel

* Fix formatting for pull
This commit is contained in:
Pranav K 2015-02-12 16:51:04 -08:00
parent 3de5db0c78
commit 70517d64a8
1 changed files with 7 additions and 8 deletions

View File

@ -139,15 +139,15 @@ var buildTarget = "compile"
#check-update-release #check-update-release
@{ @{
Parallel.ForEach(GetAllRepos(), repo=>{CloneOrUpdate(repo);}); Parallel.ForEach(GetAllRepos(), CloneOrUpdate);
Log.Info("************************************* Checking repos for diffs *************************"); Log.Info("************************************* Checking repos for diffs *************************");
Parallel.ForEach(GetAllRepos(), repo=>{ foreach (var repo in GetAllRepos())
Log.Info("Checking repo: " + repo); {
Log.Info("Checking repo: " + repo);
GitCommand(repo, "log origin/dev..origin/release"); GitCommand(repo, "log origin/dev..origin/release");
}); }
Log.Info("If there are no conflicts in the repos, continue with the 'update-release' target"); Log.Info("If there are no conflicts in the repos, continue with the 'update-release' target");
} }
@ -172,8 +172,7 @@ var buildTarget = "compile"
} }
#pull-all #pull-all
for each='var repo in GetAllRepos()' -Parallel.ForEach(GetAllRepos(), CloneOrUpdate);
-CloneOrUpdate(repo);
#update-master #update-master
-// Merge release branch to master -// Merge release branch to master