Refactor the build scripts

- Bifurcate Package and Publish targets to enable signing.
- Move publish from bash/ps into c#.
- Create multiple targets to create MSIs and Bundles.
This commit is contained in:
Sridhar Periyasamy 2016-03-07 12:20:50 -08:00
parent 781678de92
commit d4a3190bfc
25 changed files with 754 additions and 577 deletions

View file

@ -20,16 +20,9 @@ namespace Microsoft.DotNet.Cli.Build.Framework
public override bool EvaluateCondition()
{
var currentPlatform = CurrentPlatform.Current;
if (currentPlatform == default(BuildPlatform))
{
throw new Exception("Unrecognized Platform.");
}
foreach (var platform in _buildPlatforms)
{
if (platform == currentPlatform)
if (CurrentPlatform.IsPlatform(platform))
{
return true;
}