Skip to content

Commit 67737ee

Browse files
author
Gustavo Guerra
committed
Package restore is now done during build + fix nuget path
1 parent 3552002 commit 67737ee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.fsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ Target "Build" (fun _ ->
8787

8888
Target "RunTests" (fun _ ->
8989

90-
// Will get NUnit.Runner NuGet package if not present
91-
// (needed to run tests using the 'NUnit' target)
92-
RestorePackages()
93-
9490
let nunitVersion = GetPackageVersion "packages" "NUnit.Runners"
9591
let nunitPath = sprintf "packages/NUnit.Runners.%s/Tools" nunitVersion
9692

@@ -117,7 +113,7 @@ Target "NuGet" (fun _ ->
117113
// Format the description to fit on a single line (remove \r\n and double-spaces)
118114
let description = description.Replace("\r", "").Replace("\n", "").Replace(" ", " ")
119115
let descriptionExperimental = descriptionExperimental.Replace("\r", "").Replace("\n", "").Replace(" ", " ")
120-
let nugetPath = "tools/Nuget/nuget.exe"
116+
let nugetPath = ".nuget/nuget.exe"
121117

122118
NuGet (fun p ->
123119
{ p with

0 commit comments

Comments
 (0)