Add support for building dotnet CLI on Debian.

This commit is contained in:
Jeremy Meng 2016-03-03 18:38:58 +00:00
parent c33c2ff127
commit ee4bbb43ff
6 changed files with 47 additions and 14 deletions

View file

@ -260,7 +260,7 @@ namespace Microsoft.DotNet.Cli.Build
{
packageId = "toolchain.ubuntu.14.04-x64.Microsoft.DotNet.AppDep";
}
else if (CurrentPlatform.IsCentOS || CurrentPlatform.IsRHEL)
else if (CurrentPlatform.IsCentOS || CurrentPlatform.IsRHEL || CurrentPlatform.IsDebian)
{
c.Warn($"Native compilation is not yet working on {CurrentPlatform.Current}");
return c.Success();
@ -308,6 +308,10 @@ namespace Microsoft.DotNet.Cli.Build
// CentOS runtime is in the runtime.rhel.7-x64... package.
packageId = "runtime.rhel.7-x64.Microsoft.NETCore.Runtime.CoreCLR";
}
else if (CurrentPlatform.IsDebian)
{
packageId = "runtime.debian.8.2-x64.Microsoft.NETCore.Runtime.CoreCLR";
}
else if (CurrentPlatform.IsOSX)
{
packageId = "runtime.osx.10.10-x64.Microsoft.NETCore.Runtime.CoreCLR";