Skip to content

Commit 5a652a4

Browse files
committed
Runs paket before dotnet restore
helps speed up the build by running paket directly before dotnet restore. dotnet restore doesn't have the concept of running a single instance of paket and will run one per project, which has to use a process lock file. running before dotnet restore makes it so we have less overhead
1 parent dae9b9a commit 5a652a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.fsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Target.create "Build" (fun _ ->
5454
)
5555

5656
Target.create "Restore" (fun _ ->
57+
Fake.DotNet.Paket.restore (fun p -> {p with ToolType = ToolType.CreateLocalTool()} )
5758
DotNet.restore id solutionFile
5859
)
5960

0 commit comments

Comments
 (0)