Ayaka.Nuke
1.0.0
dotnet add package Ayaka.Nuke --version 1.0.0
NuGet\Install-Package Ayaka.Nuke -Version 1.0.0
<PackageReference Include="Ayaka.Nuke" Version="1.0.0" />
paket add Ayaka.Nuke --version 1.0.0
#r "nuget: Ayaka.Nuke, 1.0.0"
// Install Ayaka.Nuke as a Cake Addin #addin nuget:?package=Ayaka.Nuke&version=1.0.0 // Install Ayaka.Nuke as a Cake Tool #tool nuget:?package=Ayaka.Nuke&version=1.0.0
About
Provides various opinionated build components for simpler build automation using NUKE.
Key Features
Provides build components like:
IHave...
to extend the build with additional context. For exampleIHaveSources
,IHaveTests
,IHaveArtifacts
, etc. to provide conventional paths for sources, tests, artifacts and other directories to the buildIHaveGitRepository
to provide information about the current Git repository to the buildIHaveGitVersion
to provide information about the current Git version configuration to the buildIHaveNuGetConfiguration
to have NuGet API client parameters on the buildIHaveGitHubToken
to have GitHub API client parameters on the build- and many more
ICan...
to extend the build with additional targets. For exampleICanClean
to clean the build directoriesICanDotNet...
to restore, build, test and pack .NET projectsICanVitePress...
to lint and build a VitePress siteICanShipPublicApis
to ship public APIs fromPublicAPI.Unshipped.txt
toPublicAPI.Shipped.txt
- and many more
Additionally, provides build tasks that wrap other tools or APIs like:
GitHubTasks
to create pull requests, generate release notes or create new releasesDotNetValidateTasks
to validate .NET NuGet packages usingdotnet-validate
tool
How to Use
Using any of the build components is as simple as decorating your build class. For example:
class Build
: NukeBuild
IHaveSources,
ICanDotNetRestore,
ICanDotNetBuild
{
public static int Main() => Execute<Build>(x => x.Default);
Target Default => target => target
.DependsOn<IHaveDotNetRestoreTarget>()
.DependsOn<IHaveDotNetBuildTarget>();
}
Note: You can either use ICanDotNetRestore
or IHaveDotNetRestoreTarget
to use the target with .DependsOn()
.
Additional Documentation
See the documentation for more details.
Feedback & Contributing
Ayaka
is an open-source project and welcomes contributions. If you have any ideas, improvements or issues, please open an issue
or a pull request at the GitHub repository.
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
- Light.GuardClauses (>= 12.0.0)
- Nuke.Common (>= 8.1.4)
- Octokit (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 82 | 11/7/2024 |
0.7.2 | 69 | 11/7/2024 |
0.7.1 | 83 | 10/24/2024 |
0.7.0 | 79 | 10/21/2024 |
0.6.9 | 85 | 10/8/2024 |
0.6.8 | 79 | 10/6/2024 |
0.6.7 | 86 | 9/24/2024 |
0.6.6 | 89 | 9/24/2024 |
0.6.5 | 86 | 9/24/2024 |
0.6.4 | 91 | 9/24/2024 |
0.6.3 | 114 | 7/15/2024 |
0.6.2 | 94 | 7/15/2024 |
0.6.1 | 111 | 7/10/2024 |
0.6.0 | 116 | 7/10/2024 |
0.5.0 | 103 | 6/16/2024 |
0.4.0 | 108 | 6/10/2024 |
0.3.0 | 110 | 5/21/2024 |