Cake.Frosting.PleOps.Recipe
1.0.2
See the version list below for details.
dotnet add package Cake.Frosting.PleOps.Recipe --version 1.0.2
NuGet\Install-Package Cake.Frosting.PleOps.Recipe -Version 1.0.2
<PackageReference Include="Cake.Frosting.PleOps.Recipe" Version="1.0.2" />
paket add Cake.Frosting.PleOps.Recipe --version 1.0.2
#r "nuget: Cake.Frosting.PleOps.Recipe, 1.0.2"
// Install Cake.Frosting.PleOps.Recipe as a Cake Addin #addin nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.2 // Install Cake.Frosting.PleOps.Recipe as a Cake Tool #tool nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.2
PleOps Cake
Complete DevOps workflow and best-practices for .NET projects based on Cake.
- ♻️ DevOps best practices for a software project
- 🔧 Build, test and release tasks for .NET projects and documentation sites
- 📚 Documentation explaining the workflow
- 📋 Template repository ready to use
Tech stack
- Projects: C# / .NET
- Documentation: DocFX, GitHub page
- CI: GitHub Actions
- Release deployment: NuGet feeds, GitHub
Usage
The project ships a NuGet library with Cake Frosting tasks:
Cake.Frosting.PleOps.Recipe
:
To use it, create a new console application with the Cake Frosting template, add a reference to this recipe NuGet and its tasks will be available to use.
return new CakeHost()
.AddAssembly(typeof(Cake.Frosting.PleOps.Recipe.PleOpsBuildContext).Assembly)
.UseContext<Cake.Frosting.PleOps.Recipe.PleOpsBuildContext>()
.UseLifetime<BuildLifetime>()
.Run(args);
[TaskName("Default")]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Common.SetGitVersionTask))]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Common.CleanArtifactsTask))]
[IsDependentOn(typeof(Cake.Frosting.PleOps.Recipe.Dotnet.DotnetTasks.BuildProjectTask))]
public sealed class DefaultTask : FrostingTask
{
}
Then just run the project to start the build system:
dotnet run --project build/orchestrator
Pushing commits will trigger a new continuous integration build with a similar output as this:
[!TIP]
Find a detailed setup guide in the documentation site.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Cake.Frosting (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
## v1.0.2 (December 19, 2023)
This patch release brings additional fixes on the publication of artifacts to GitHub release and documentation improvements.
## What's Changed
* 🐛 Fix GitHub binary upload using dotnet-tools by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/78
* 📚 Add missing steps to setup GitHub Pages and other small doc fixes by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/80
**Full Changelog**: https://github.com/pleonex/PleOps.Cake/compare/v1.0.1...v1.0.2