CakeTaskBuilderExtensions.

IsDependeeOf(CakeTaskBuilder, string) Method

Summary

Makes the task a dependency of another task.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderExtensions

Syntax

public static CakeTaskBuilder IsDependeeOf(this CakeTaskBuilder builder, string name)

Examples

Task("Clean")
    .IsDependeeOf("Build");

Parameters

Name Type Description
builder CakeTaskBuilder The task builder.
name string The name of the task the current task will be a dependency of.

Return Value

Type Description
CakeTaskBuilder The same CakeTaskBuilder instance so that multiple calls can be chained.