mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-21 01:39:32 +00:00
23 lines
557 B
C#
23 lines
557 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 testSettings = new DotNetTestSettings()
|
|
{
|
|
Configuration = "Release",
|
|
Verbosity = DotNetVerbosity.Normal,
|
|
NoLogo = true,
|
|
NoBuild = true
|
|
};
|
|
|
|
context.DotNetTest(context.SolutionPath, testSettings);
|
|
}
|
|
}
|