Antda.Build
1.3.0
Prefix Reserved
dotnet add package Antda.Build --version 1.3.0
NuGet\Install-Package Antda.Build -Version 1.3.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="Antda.Build" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Antda.Build --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Antda.Build, 1.3.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 Antda.Build as a Cake Addin #addin nuget:?package=Antda.Build&version=1.3.0 // Install Antda.Build as a Cake Tool #tool nuget:?package=Antda.Build&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Antda.Build
is a set of tasks based on Cake.Frosting library. This library simplify the building, deployment and release processes for .Net
projects hosted on GitHub.
Features
- Supported any
.Net
library projects - Supported publish packages to GitHub NuGet register and NuGet.org
- Automatically create release notes for GitHub release
- Run unit tests
- Upload build artifacts to CI build
- Version incrementing by GitVersion
Supported build platforms
Build platform | Status |
---|---|
AppVeyor | ✔️Supported |
GitHub Actions | ✔️Supported |
Getting Started
- Create
build
folder in the repository root. - Create a new console application inside. See Create a simple C# console app.
- Then replace content of
Program.cs
by following code:using Antda.Build; using Antda.Build.Extensions; return BuildHostBuilder .CreateDefault() .WithProjects("ProjectFolder/ProjectName.csproj") .WithSource("src") .WithTitle("ProjectName") .WithRepository("GitRepositoryName", "GitRepositoryOwner") .UseGithubPackageSource() .UseNugetPackageSource() .Build() .Run(args);
- Add build script in the repository root
- For Windows add
build.ps1
powreshell script with content:
dotnet run --project ./build/Build.csproj --configuration Release -- $args exit $LASTEXITCODE;
- For Linux add
build.sh
bash script with content:
dotnet run --project ./build/Build.csproj --configuration Release -- "$@"
- For Windows add
For more documentation, follow the link there Antda.Build
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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.
-
net6.0
- Cake.Common (>= 4.0.0)
- Cake.DotNetTool.Module (>= 4.0.0)
- Cake.FileHelpers (>= 7.0.0)
- Cake.Frosting (>= 4.0.0)
- Cake.Git (>= 4.0.0)
- Humanizer.Core (>= 2.14.1)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
-
net7.0
- Cake.Common (>= 4.0.0)
- Cake.DotNetTool.Module (>= 4.0.0)
- Cake.FileHelpers (>= 7.0.0)
- Cake.Frosting (>= 4.0.0)
- Cake.Git (>= 4.0.0)
- Humanizer.Core (>= 2.14.1)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
-
net8.0
- Cake.Common (>= 4.0.0)
- Cake.DotNetTool.Module (>= 4.0.0)
- Cake.FileHelpers (>= 7.0.0)
- Cake.Frosting (>= 4.0.0)
- Cake.Git (>= 4.0.0)
- Humanizer.Core (>= 2.14.1)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.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.
Version | Downloads | Last updated |
---|---|---|
1.3.0 | 122 | 4/8/2024 |
1.2.2 | 284 | 11/15/2023 |
1.2.1 | 120 | 11/15/2023 |
1.2.0 | 106 | 11/13/2023 |
1.1.4 | 177 | 11/1/2023 |
1.1.3 | 137 | 10/26/2023 |
1.1.2 | 133 | 10/26/2023 |
1.1.1 | 131 | 10/17/2023 |
1.1.0 | 125 | 10/17/2023 |
1.0.6 | 438 | 7/15/2022 |
1.0.5 | 412 | 7/15/2022 |
1.0.4 | 469 | 6/15/2022 |
1.0.3 | 394 | 6/14/2022 |
1.0.2 | 415 | 6/8/2022 |
1.0.1 | 392 | 6/8/2022 |