PleOps.Cake
0.7.1
PleOps recipes based on Cake DSL are not supported. To continue using PleOps recipes, migrate to Cake Frosting based build systems.
See the version list below for details.
dotnet add package PleOps.Cake --version 0.7.1
NuGet\Install-Package PleOps.Cake -Version 0.7.1
<PackageReference Include="PleOps.Cake" Version="0.7.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add PleOps.Cake --version 0.7.1
#r "nuget: PleOps.Cake, 0.7.1"
// Install PleOps.Cake as a Cake Addin #addin nuget:?package=PleOps.Cake&version=0.7.1 // Install PleOps.Cake as a Cake Tool #tool nuget:?package=PleOps.Cake&version=0.7.1
PleOps.Cake pipeline
Full automated build, test, stage and release pipeline for .NET projects based on Cake. Check also the template repository to see the pipeline in action!
Release | Package |
---|---|
Stable | |
Preview | Azure Artifacts |
Requirements
- .NET 6.0 SDK
- [Linux and MacOS only] Mono 6 (for DocFX)
Build system command
The following target are available for build, test and release.
BuildTest
: build the project and run its tests and quality assurance tools.Generate-ReleaseNotes
: generate a release notes and full changelog by analyzing issues and PR of GitHub.Stage-Artifacts
: runBuildTest
, generate the release notes, build the documentation, pack the libraries in NuGet and stage the executables.Push-Artifacts
: push the libraries, applications and documentation to the preview or stable feed.
Documentation
Feel free to ask any question in the project Discussion site!
Check the documentation for more information. For reference, this is the general build and release pipeline.
Build
The project requires to build .NET 6.0 SDK (Linux and MacOS require also Mono). If you open the project with VS Code and you did install the VS Code Remote Containers extension, you can have an already pre-configured development environment with Docker or Podman.
To build, test and generate artifacts run:
# Only required the first time
dotnet tool restore
# Default target is Stage-Artifacts
dotnet cake
To just build and test quickly, run:
dotnet cake --target=BuildTest
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
## v0.7.1 (July 31, 2022)
As part of this release we had [3 issues](https://github.com/pleonex/PleOps.Cake/milestone/13?closed=1) closed.
### Migration steps
- Update `dotnet-cake` to `2.2` in _.config/dotnet-tools.json_
- Update the PleOps.Cake version to 0.7.1 from build.cake
- If using VS Code Remote Containers, pull and rebuild the container
__bugs__
- [__#59__](https://github.com/pleonex/PleOps.Cake/pull/59) :umbrella: Test code coverage, fix dependency for .NET dev container and generate release notes on CI devs builds
- [__#60__](https://github.com/pleonex/PleOps.Cake/pull/60) :bug: Skip release notes on dev builds
__enhancement__
- [__#58__](https://github.com/pleonex/PleOps.Cake/pull/58) Update dependencies