A .NET Core host for Cake, that allows you to write your build scripts as a
(portable) console application (netcoreapp3.1
or net461
).
You can find the SDK at https://dotnet.microsoft.com/download.
> dotnet new --install Cake.Frosting.Template
Now it's time to create a new Frosting project.
Go to the repository where you want to add a new Frosting build script and run the following command:
> dotnet new cakefrosting
Now you should be able to run your newly created builds script.
> ./build.ps1
NOTE: You're not supposed to commit the produced binaries to your repository.
The above command is what you're expected to run from your bootstrapper.
To build from source, you will need to have .NET Core SDK 3.1.301 installed on your machine.
If you want to develop using Visual Studio, then you need to use Visual Studio 2019 (16.6) or higher.
The API for configuring and running the host have been heavily influenced by the ASP.NET Core hosting API.
Copyright © .NET Foundation and contributors.
Frosting is provided as-is under the MIT license. For more information see
LICENSE.
A big thank you has to go to JetBrains who provide each of the Cake developers with an Open Source License for ReSharper that helps with the development of Cake.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
This project is supported by the .NET Foundation.