GraphAliases.

Graph(ICakeContext, IReadOnlyList<ICakeTaskInfo>) Method

Summary

Alias for retrieving the GraphRunner
Assembly
Cake.Graph.dll
Namespace
Cake.Graph
Containing Type
GraphAliases

Syntax

public static GraphRunner Graph(this ICakeContext context, IReadOnlyList<ICakeTaskInfo> tasks)

Examples

Deploy both web files and task nodeset files

Task("Graph")
    .Does(() =>
{
    Graph(Tasks).Deploy(s => s.SetOutputPath("output"));
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
tasks IReadOnlyList<ICakeTaskInfo>

Return Value

Type Description
GraphRunner