Update all the things

This commit is contained in:
Robert Marshall 2023-02-18 13:23:54 +00:00
parent 8b5185847d
commit b56b633232
14 changed files with 205 additions and 62 deletions

View file

@ -9,7 +9,6 @@ using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.IO.PathConstruction;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
[CheckBuildProjectConfigurations]
[UnsetVisualStudioEnvironmentVariables]
class Build : NukeBuild {
@ -60,7 +59,7 @@ class Build : NukeBuild {
.DependsOn(Test)
.Executes(() => {
DotNetPack(s => s
.SetProject(Solution)
.SetProject(Solution.Projects.SingleOrError(project => project.Name == "Robware.Lib.ApiClient", "ERROR FINDING API CLIENT PROJECT"))
.SetIncludeSymbols(true)
.SetSymbolPackageFormat(DotNetSymbolPackageFormat.snupkg)
.SetOutputDirectory(OutputDirectory));