Table of Contents

Class CleanArtifactsTask

Namespace
Cake.Frosting.PleOps.Recipe.Common
Assembly
Cake.Frosting.PleOps.Recipe.dll

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 PleOpsBuildContext

The context.

ShouldRun(PleOpsBuildContext)

Gets whether or not the task should be run.

public override bool ShouldRun(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

The context.

Returns

bool

true if the task should run; otherwise false.