Browse Source

Paket: use NuGet.CommandLine instead of local tool

cuda
Christoph Ruegg 12 years ago
parent
commit
2e777a3a2d
  1. 4
      build.fsx
  2. 19
      paket.dependencies
  3. 1
      paket.lock
  4. BIN
      tools/NuGet/NuGet.exe

4
build.fsx

@ -454,7 +454,7 @@ Target "DataZip" (fun _ ->
// NUGET // NUGET
let updateNuspec (pack:Package) outPath symbols updateFiles spec = let updateNuspec (pack:Package) outPath symbols updateFiles spec =
{ spec with ToolPath = "tools/NuGet/NuGet.exe" { spec with ToolPath = "packages/NuGet.CommandLine/tools/NuGet.exe"
OutputPath = outPath OutputPath = outPath
WorkingDir = "obj/NuGet" WorkingDir = "obj/NuGet"
Version = pack.Version Version = pack.Version
@ -599,7 +599,7 @@ let publishNuGet packageFiles =
let args = sprintf "push \"%s\"" (FullName file) let args = sprintf "push \"%s\"" (FullName file)
let result = let result =
ExecProcess (fun info -> ExecProcess (fun info ->
info.FileName <- "tools/NuGet/NuGet.exe" info.FileName <- "packages/NuGet.CommandLine/tools/NuGet.exe"
info.WorkingDirectory <- FullName "obj/NuGet" info.WorkingDirectory <- FullName "obj/NuGet"
info.Arguments <- args) (TimeSpan.FromMinutes 10.) info.Arguments <- args) (TimeSpan.FromMinutes 10.)
if result <> 0 then failwith "Error during NuGet push." if result <> 0 then failwith "Error during NuGet push."

19
paket.dependencies

@ -1,16 +1,23 @@
source http://nuget.org/api/v2 source http://nuget.org/api/v2
# Core Dependencies
nuget FSharp.Core.Microsoft.Signed ~> 3.1.1 nuget FSharp.Core.Microsoft.Signed ~> 3.1.1
nuget FSharp.Core.4.3.0.0.Microsoft.Signed ~> 3.0.0 nuget FSharp.Core.4.3.0.0.Microsoft.Signed ~> 3.0.0
nuget TaskParallelLibrary 1.0.2856.0 nuget TaskParallelLibrary 1.0.2856.0
nuget FAKE ~> 3.5 # Data Dependencies
nuget NUnit.Runners ~> 2.6
nuget FSharp.Formatting !~> 2.4
nuget NUnit ~> 2.6
nuget FsUnit ~> 1.3
nuget MathNet.Numerics 3.0.0 nuget MathNet.Numerics 3.0.0
# Benchmark Dependencies
nuget BenchShark 1.0.0 nuget BenchShark 1.0.0
nuget ConsoleDump 0.6.0.1 nuget ConsoleDump 0.6.0.1
# Development Dependencies
nuget NUnit ~> 2.6
nuget FsUnit ~> 1.3
# Tools
nuget FAKE ~> 3.5
nuget NUnit.Runners ~> 2.6
nuget FSharp.Formatting !~> 2.4
nuget NuGet.CommandLine

1
paket.lock

@ -15,6 +15,7 @@ NUGET
NUnit (>= 2.6.3) NUnit (>= 2.6.3)
MathNet.Numerics (3.0.0) MathNet.Numerics (3.0.0)
Microsoft.AspNet.Razor (2.0.30506.0) Microsoft.AspNet.Razor (2.0.30506.0)
NuGet.CommandLine (2.8.2)
NUnit (2.6.3) NUnit (2.6.3)
NUnit.Runners (2.6.3) NUnit.Runners (2.6.3)
RazorEngine (3.3.0) RazorEngine (3.3.0)

BIN
tools/NuGet/NuGet.exe

Binary file not shown.
Loading…
Cancel
Save