Merge pull request #2439 from Sridhar-MS/host-bins-sign

Bifurcate the compile CoreHost and nuget packing step into two.
This commit is contained in:
Piotr Puszkiewicz 2016-04-13 16:30:23 -07:00
commit 8504006842

View file

@ -51,7 +51,7 @@ namespace Microsoft.DotNet.Cli.Build
// Moving PrepareTargets.RestorePackages after PackagePkgProjects because managed code depends on the
// Microsoft.NETCore.App package that is created during PackagePkgProjects.
[Target(nameof(PrepareTargets.Init), nameof(PackagePkgProjects), nameof(PrepareTargets.RestorePackages), nameof(CompileStage1), nameof(CompileStage2))]
[Target(nameof(PrepareTargets.Init), nameof(CompileCoreHost), nameof(PackagePkgProjects), nameof(PrepareTargets.RestorePackages), nameof(CompileStage1), nameof(CompileStage2))]
public static BuildTargetResult Compile(BuildTargetContext c)
{
return c.Success();
@ -145,7 +145,7 @@ namespace Microsoft.DotNet.Cli.Build
return c.Success();
}
[Target(nameof(CompileCoreHost))]
[Target]
public static BuildTargetResult PackagePkgProjects(BuildTargetContext c)
{
var buildVersion = c.BuildContext.Get<BuildVersion>("BuildVersion");