Cake.Frosting.PleOps.Recipe
1.0.1
See the version list below for details.
dotnet add package Cake.Frosting.PleOps.Recipe --version 1.0.1
NuGet\Install-Package Cake.Frosting.PleOps.Recipe -Version 1.0.1
<PackageReference Include="Cake.Frosting.PleOps.Recipe" Version="1.0.1" />
paket add Cake.Frosting.PleOps.Recipe --version 1.0.1
#r "nuget: Cake.Frosting.PleOps.Recipe, 1.0.1"
// Install Cake.Frosting.PleOps.Recipe as a Cake Addin #addin nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.1 // Install Cake.Frosting.PleOps.Recipe as a Cake Tool #tool nuget:?package=Cake.Frosting.PleOps.Recipe&version=1.0.1
PleOps Cake ![MIT license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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.1 (November 23, 2023)
Patch release fixing a missing dependency in the task `UploadReleaseBinariesTask` to restore _GitReleaseManager_ and doc improvements.
## What's Changed
* 📖 Improve NuGet readme and document doc protection tag by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/76
* 🐛 Missing dependency to restore GitReleaseManager when uploading binaries by @pleonex in https://github.com/pleonex/PleOps.Cake/pull/77
**Full Changelog**: https://github.com/pleonex/PleOps.Cake/compare/v1.0.0...v1.0.1