mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
Move build into /src/cs
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System.Threading.Tasks;
|
||||
using Cake.Common.Build;
|
||||
using Cake.Common.IO;
|
||||
using Cake.Common.Tools.ReportUnit;
|
||||
using Cake.Core;
|
||||
using Cake.Core.IO;
|
||||
using Cake.Frosting;
|
||||
|
||||
namespace BuildScripts;
|
||||
|
||||
public static class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
return new CakeHost()
|
||||
.UseContext<BuildContext>()
|
||||
.UseWorkingDirectory("../../../")
|
||||
.Run(args);
|
||||
}
|
||||
}
|
||||
|
||||
[TaskName("Default")]
|
||||
[IsDependentOn(typeof(RestoreTask))]
|
||||
[IsDependentOn(typeof(BuildTask))]
|
||||
[IsDependentOn(typeof(TestTask))]
|
||||
[IsDependentOn(typeof(PackageTask))]
|
||||
public sealed class DefaultTask : FrostingTask {}
|
||||
|
||||
|
||||
[TaskName("Deploy")]
|
||||
[IsDependentOn(typeof(DeployToGitHubTask))]
|
||||
[IsDependentOn(typeof(DeployToNuGetTask))]
|
||||
public sealed class DeployTask : FrostingTask {}
|
||||
Reference in New Issue
Block a user