21 lines
520 B
C#
21 lines
520 B
C#
|
using System;
|
||
|
using NUnit.Framework.Interfaces;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.TestTools;
|
||
|
|
||
|
namespace UnityEditor.TestTools.TestRunner.TestRun.Tasks
|
||
|
{
|
||
|
internal class PostbuildCleanupTask : BuildActionTaskBase<IPostBuildCleanup>
|
||
|
{
|
||
|
public PostbuildCleanupTask() : base(new PostbuildCleanupAttributeFinder())
|
||
|
{
|
||
|
RunOnError = ErrorRunMode.RunAlways;
|
||
|
}
|
||
|
|
||
|
protected override void Action(IPostBuildCleanup target)
|
||
|
{
|
||
|
target.Cleanup();
|
||
|
}
|
||
|
}
|
||
|
}
|