Skip to content

Commit

Permalink
Adding FluentValidation to build packager.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmwebb-lv committed May 6, 2024
1 parent ea89198 commit b90a850
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected override void OnBuildInitialized()
{
Log.Information("Generating NuGet packages for projects in solution");
int commitNum = 0;
string NuGetVersionCustom = "2.0.0.876";
string NuGetVersionCustom = "2.0.0.877";
//if it's not a tagged release - append the commit number to the package version
Expand Down Expand Up @@ -465,6 +465,24 @@ protected override void OnBuildInitialized()
.SetOutputDirectory(Directory_NuGet)
.EnableNoBuild()
.EnableNoRestore());
DotNetTasks
.DotNetPack(_ => _
.SetPackageId("RCommon.FluentValidation")
.SetProject(projects.FirstOrDefault(x => x.Name == "RCommon.FluentValidation").Path.ToString())
.SetPackageTags("RCommon FluentValidation extensions validation")
.SetDescription("A cohesive set of infrastructure libraries for dotnet that utilizes abstractions for event handling persistence unit of work mediator distributed messaging event bus CQRS email and more")
.SetConfiguration(Configuration)
.SetCopyright(Copyright)
.SetAuthors("Jason Webb")
.SetPackageIconUrl("https://avatars.githubusercontent.com/u/96881178?s=200&v=4")
.SetRepositoryUrl("https://github.com/RCommon-Team/RCommon")
.SetPackageProjectUrl("https://rcommon.com")
.SetPackageLicenseUrl("https://licenses.nuget.org/Apache-2.0")
.SetVersion(NuGetVersionCustom)
.SetNoDependencies(true)
.SetOutputDirectory(Directory_NuGet)
.EnableNoBuild()
.EnableNoRestore());
});


Expand Down

0 comments on commit b90a850

Please sign in to comment.