Ayaka.Nuke 1.0.0

dotnet add package Ayaka.Nuke --version 1.0.0                
NuGet\Install-Package Ayaka.Nuke -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ayaka.Nuke" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ayaka.Nuke --version 1.0.0                
#r "nuget: Ayaka.Nuke, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 example
    • IHaveSources, IHaveTests, IHaveArtifacts, etc. to provide conventional paths for sources, tests, artifacts and other directories to the build
    • IHaveGitRepository to provide information about the current Git repository to the build
    • IHaveGitVersion to provide information about the current Git version configuration to the build
    • IHaveNuGetConfiguration to have NuGet API client parameters on the build
    • IHaveGitHubToken to have GitHub API client parameters on the build
    • and many more
  • ICan... to extend the build with additional targets. For example
    • ICanClean to clean the build directories
    • ICanDotNet... to restore, build, test and pack .NET projects
    • ICanVitePress... to lint and build a VitePress site
    • ICanShipPublicApis to ship public APIs from PublicAPI.Unshipped.txt to PublicAPI.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 releases
  • DotNetValidateTasks to validate .NET NuGet packages using dotnet-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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 78 11/7/2024
0.7.2 65 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