The Cake runner for .NET Core is deprecated and it is suggested to use Cake .NET Tool for running Cake under .NET Core.
Requirements
The Cake.CoreCLR NuGet package is a runner compiled for .NET Core 2.0.
Usage
dotnet Cake.dll [script] [switches]
Switches
Switch | Description | Available Since |
---|---|---|
--verbosity=<value> | Specifies the amount of information to be displayed (quiet, minimal, normal, verbose, diagnostic). | 0.1.1 |
--debug | Launches script in debug mode. | 0.12.0 |
--showdescription | Shows description about tasks. | 0.1.10 |
--showtree, --tree | Shows the task dependency tree. | 0.31.0 |
--dryrun | Performs a dry run. | 0.2.0 |
--exclusive | Execute a single task without any dependencies. | 0.29.0 |
--bootstrap | Download/install modules defined by #module directives, but do not run build. Since 1.0.0-rc0001 bootstrapping is done by default when running build. |
0.24.0 |
--skip-bootstrap | Skips bootstrapping when running build. | 1.0.0-rc0001 |
--version | Displays version information. | 0.1.12 |
--info | Displays additional information about Cake execution. | 0.31.0 |
--help | Prints help information. | 0.1.12 |
--target=<target>
is not a switch of the runner, but a custom switch which scripts often implement to invoke a specific task.
Custom switches
All switches not recognized by Cake will be added to an argument list that is passed to the build script. See Arguments And Environment Variables how to read arguments in your script.