Add msbuild-based stage0 where possible (#4597)

* Add msbuild-based stage0 where possible

* Fix bash initialization script

* Windows Fixes

* Fix dotnet deb tool
This commit is contained in:
Piotr Puszkiewicz 2016-11-02 23:01:57 -07:00 committed by GitHub
parent 14c285db1c
commit fd9cb55f1a
21 changed files with 218 additions and 230 deletions

View file

@ -12,15 +12,13 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{GetProjectPath()} {GetConfiguration()} {GetNoBuild()} {GetBuildBasePath()} {GetOutput()} {GetVersionSuffix()}"; }
get { return $"{GetProjectPath()} {GetConfiguration()} {GetNoBuild()} {GetOutput()} {GetVersionSuffix()}"; }
}
public string Configuration { get; set; }
public bool NoBuild { get; set; }
public string BuildBasePath { get; set; }
public string Output { get; set; }
public string ProjectPath { get; set; }
@ -46,17 +44,7 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetBuildBasePath()
{
if (!string.IsNullOrEmpty(BuildBasePath))
{
return $"--build-base-path {BuildBasePath}";
}
return null;
}
private string GetOutput()
{
if (!string.IsNullOrEmpty(Output))