Defining Tasks

Defining tasks in Cake .NET Tool

To define a task in a script for Cake .NET Tool use the Task method:

Task("A")
    .Does(() =>
{
});

Defining tasks in Cake Frosting

To define a task in Cake Frosting create a class inheriting from FrostingTask:

[TaskName("A")]
public class TaskA : FrostingTask
{
}