cake
Cross-platform build automation using C#
TLDR
Run default build script
$ dotnet cake
Run specific build script$ dotnet cake [build.cake]
Run specific target$ dotnet cake --target=[Clean]
Run with verbosity$ dotnet cake --verbosity=[diagnostic]
Show available tasks$ dotnet cake --showdescription
Dry run without executing$ dotnet cake --dryrun
Run with custom argument$ dotnet cake --configuration=[Release]
SYNOPSIS
dotnet cake [script] [options]
DESCRIPTION
Cake (C# Make) is a cross-platform build automation system with a C# DSL. It compiles code, copies files, runs tests, compresses files, and builds NuGet packages. Scripts are written in C# and executed via Roslyn.
PARAMETERS
--target=name
Target task to run--verbosity=level
Output verbosity (quiet, minimal, normal, verbose, diagnostic)--dryrun
Show tasks without executing--showdescription
Show task descriptions--showtree
Show task dependency tree--configuration=config
Build configuration (Debug, Release)--exclusive
Execute only target task without dependencies--version
Show version--help
Show help
INSTALLATION
$ dotnet new tool-manifest
dotnet tool install Cake.Tool
dotnet tool install Cake.Tool
CAVEATS
Requires .NET SDK installed. By convention, executes build.cake in current directory. Supports MSBuild, .NET CLI, NuGet, and many other tools through addins.

