mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-21 01:39:32 +00:00
03256fdc0d
Uses same verbosity as original workflow did
19 lines
461 B
C#
19 lines
461 B
C#
using Cake.Common.Tools.DotNet;
|
|
using Cake.Common.Tools.DotNet.Restore;
|
|
using Cake.Frosting;
|
|
|
|
namespace BuildScripts;
|
|
|
|
public sealed class RestoreTask : FrostingTask<BuildContext>
|
|
{
|
|
public override void Run(BuildContext context)
|
|
{
|
|
DotNetRestoreSettings restoreSettings = new DotNetRestoreSettings()
|
|
{
|
|
Verbosity = DotNetVerbosity.Quiet
|
|
};
|
|
|
|
context.DotNetRestore(context.SolutionPath, restoreSettings);
|
|
}
|
|
}
|