Skip to content

Commit

Permalink
Package restore is now done during build + fix nuget path
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Guerra committed Jul 21, 2013
1 parent 3552002 commit 67737ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ Target "Build" (fun _ ->

Target "RunTests" (fun _ ->

// Will get NUnit.Runner NuGet package if not present
// (needed to run tests using the 'NUnit' target)
RestorePackages()

let nunitVersion = GetPackageVersion "packages" "NUnit.Runners"
let nunitPath = sprintf "packages/NUnit.Runners.%s/Tools" nunitVersion

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

NuGet (fun p ->
{ p with
Expand Down

0 comments on commit 67737ee

Please sign in to comment.