Updating build pull to pull to pull in parallel
This commit is contained in:
parent
4114c872ac
commit
b3eaf788dd
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue