Antda.Build
1.1.4
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Antda.Build --version 1.1.4
NuGet\Install-Package Antda.Build -Version 1.1.4
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.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Antda.Build --version 1.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Antda.Build, 1.1.4"
#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.1.4 // Install Antda.Build as a Cake Tool #tool nuget:?package=Antda.Build&version=1.1.4
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 -- $args exit $LASTEXITCODE;
- For Linux add
build.sh
bash script with content:
dotnet run --project ./build/Build.csproj -- "$@"
- 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 was computed. 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 (>= 3.1.0)
- Cake.DotNetTool.Module (>= 3.1.0)
- Cake.FileHelpers (>= 6.1.3)
- Cake.Frosting (>= 3.1.0)
- Cake.Git (>= 3.0.0)
- Humanizer.Core (>= 2.14.1)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Options (>= 7.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 7.0.0)
-
net7.0
- Cake.Common (>= 3.1.0)
- Cake.DotNetTool.Module (>= 3.1.0)
- Cake.FileHelpers (>= 6.1.3)
- Cake.Frosting (>= 3.1.0)
- Cake.Git (>= 3.0.0)
- Humanizer.Core (>= 2.14.1)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Options (>= 7.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 7.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 | 117 | 4/8/2024 |
1.2.2 | 281 | 11/15/2023 |
1.2.1 | 115 | 11/15/2023 |
1.2.0 | 104 | 11/13/2023 |
1.1.4 | 170 | 11/1/2023 |
1.1.3 | 134 | 10/26/2023 |
1.1.2 | 130 | 10/26/2023 |
1.1.1 | 125 | 10/17/2023 |
1.1.0 | 121 | 10/17/2023 |
1.0.6 | 435 | 7/15/2022 |
1.0.5 | 410 | 7/15/2022 |
1.0.4 | 467 | 6/15/2022 |
1.0.3 | 392 | 6/14/2022 |
1.0.2 | 413 | 6/8/2022 |
1.0.1 | 389 | 6/8/2022 |