Skip to content

Commit 82e8c8b

Browse files
committed
Uses solution file to do dotnet pack
Now that we have Directory.Build.props, it can set everything in the src directory to IsPackable and everything else can be set to not IsPackable. This allows a condierable speed boost when doing dotnet pack since we don't have to hit the overhead of MSBuild for each package.
1 parent 1caaa2e commit 82e8c8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.fsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ Target.create "AssemblyInfo" (fun _ ->
138138

139139
let releaseNotes = String.toLines release.Notes
140140
Target.create "NuGet" (fun _ ->
141-
["src/FsToolkit.ErrorHandling"
142-
"src/FsToolkit.ErrorHandling.TaskResult"
143-
"src/FsToolkit.ErrorHandling.JobResult"]
141+
[solutionFile]
144142
|> Seq.iter (
145143
DotNet.pack(fun p ->
146144
{ p with

0 commit comments

Comments
 (0)