[WIP] Removes *3 verbs, making msbuild the driver (#4456)
Removes *3 verbs, making msbuild the driver
This commit is contained in:
parent
55c59d621e
commit
6fcbefa4f7
746 changed files with 4256 additions and 32434 deletions
|
@ -12,20 +12,20 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
protected override string Args
|
||||
{
|
||||
get { return $"{GetVerbosity()} {GetFallbackSource()} {GetPackages()}"; }
|
||||
get { return $"{GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()}"; }
|
||||
}
|
||||
|
||||
public string FallbackSource { get; set; }
|
||||
public string Source { get; set; }
|
||||
|
||||
public string Packages { get; set; }
|
||||
|
||||
public string Verbosity { get; set; }
|
||||
public bool SkipInvalidConfigurations { get; set; }
|
||||
|
||||
private string GetFallbackSource()
|
||||
private string GetSource()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(FallbackSource))
|
||||
if (!string.IsNullOrEmpty(Source))
|
||||
{
|
||||
return $"--fallbacksource {FallbackSource}";
|
||||
return $"--source {Source}";
|
||||
}
|
||||
|
||||
return null;
|
||||
|
@ -41,11 +41,11 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
return null;
|
||||
}
|
||||
|
||||
private string GetVerbosity()
|
||||
private string GetSkipInvalidConfigurations()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Verbosity))
|
||||
if (SkipInvalidConfigurations)
|
||||
{
|
||||
return $"--verbosity {Verbosity}";
|
||||
return "/p:SkipInvalidConfigurations=true";
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue