2016-02-02 18:04:50 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Build.Framework
|
|
|
|
|
{
|
|
|
|
|
public static class StandardGoals
|
|
|
|
|
{
|
|
|
|
|
public static BuildSetup UseStandardGoals(this BuildSetup self)
|
|
|
|
|
{
|
|
|
|
|
return self.UseTargets(new[]
|
|
|
|
|
{
|
2016-03-07 20:20:50 +00:00
|
|
|
|
new BuildTarget("Default", "Standard Goals", new [] { "Prepare", "Compile", "Test", "Package", "Publish" }),
|
2016-02-02 18:04:50 +00:00
|
|
|
|
new BuildTarget("Prepare", "Standard Goals"),
|
|
|
|
|
new BuildTarget("Compile", "Standard Goals"),
|
|
|
|
|
new BuildTarget("Test", "Standard Goals"),
|
2016-03-07 20:20:50 +00:00
|
|
|
|
new BuildTarget("Package", "Standard Goals"),
|
2016-02-02 18:04:50 +00:00
|
|
|
|
new BuildTarget("Publish", "Standard Goals")
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|