Refactor SDK Build Steps

Prefix the SDK build stuff with "Sdk" to make it easier to add other
sorts of packages (e.g. the shared host and the shared framework).
This commit is contained in:
Matt Ellis 2016-03-08 13:39:41 -08:00
parent 88c1340f6d
commit 29bc612565
6 changed files with 54 additions and 47 deletions

View file

@ -55,7 +55,7 @@ namespace Microsoft.DotNet.Cli.Build
[BuildPlatforms(BuildPlatform.Windows)]
public static BuildTargetResult GenerateZip(BuildTargetContext c)
{
var zipFile = c.BuildContext.Get<string>("CompressedFile");
var zipFile = c.BuildContext.Get<string>("SdkCompressedFile");
if (File.Exists(zipFile))
{
@ -70,7 +70,7 @@ namespace Microsoft.DotNet.Cli.Build
[BuildPlatforms(BuildPlatform.Unix)]
public static BuildTargetResult GenerateTarBall(BuildTargetContext c)
{
var tarFile = c.BuildContext.Get<string>("CompressedFile");
var tarFile = c.BuildContext.Get<string>("SdkCompressedFile");
if (File.Exists(tarFile))
{