Class CleanArtifactsTask
Task to clean the artifact and temporary folders if it's not an incremental build.
[TaskName("PleOps.Recipe.Common.CleanArtifacts")]
[TaskDescription("Clean the artifact and temporary folders if it's not an incremental build")]
public class CleanArtifactsTask : FrostingTask<PleOpsBuildContext>, IFrostingTask
- Inheritance
-
CleanArtifactsTask
- Implements
- Inherited Members
Methods
Run(PleOpsBuildContext)
Runs the task using the specified context.
public override void Run(PleOpsBuildContext context)
Parameters
context
PleOpsBuildContextThe context.
ShouldRun(PleOpsBuildContext)
Gets whether or not the task should be run.
public override bool ShouldRun(PleOpsBuildContext context)
Parameters
context
PleOpsBuildContextThe context.
Returns
- bool
true
if the task should run; otherwisefalse
.