Merge pull request #4516 from dagood/disable-parallel

Use --disable-parallel during xplat restores
This commit is contained in:
Livar 2016-10-29 00:49:09 -07:00 committed by GitHub
commit 3ec5279491
6 changed files with 23 additions and 6 deletions

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()}"; }
get { return $"{GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()} {GetDisableParallel()}"; }
}
public string Source { get; set; }
@ -50,5 +50,10 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetDisableParallel()
{
return "--disable-parallel";
}
}
}

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{GetVerbosity()} {GetFallbackSource()} {GetPackages()}"; }
get { return $"{GetVerbosity()} {GetFallbackSource()} {GetPackages()} {GetDisableParallel()}"; }
}
public string FallbackSource { get; set; }
@ -50,5 +50,10 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetDisableParallel()
{
return "--disable-parallel";
}
}
}