mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
21 lines
441 B
C#
21 lines
441 B
C#
|
|
using Cake.Common.Tools.DotNet;
|
|
using Cake.Common.Tools.DotNet.Test;
|
|
using Cake.Frosting;
|
|
|
|
namespace BuildScripts;
|
|
|
|
[TaskName(nameof(TestTask))]
|
|
public class TestTask : FrostingTask<BuildContext>
|
|
{
|
|
public override void Run(BuildContext context)
|
|
{
|
|
DotNetTestSettings settings = new DotNetTestSettings()
|
|
{
|
|
Configuration = "Release",
|
|
};
|
|
|
|
context.DotNetTest("MonoGame.Extended.sln");
|
|
}
|
|
}
|