From a765be5c53bf966cc6099235c23a1ca3ed74d328 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 20 Jun 2014 00:51:36 +0200 Subject: [PATCH] Build: comments --- build.fsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.fsx b/build.fsx index b7581440..37bdaf2a 100644 --- a/build.fsx +++ b/build.fsx @@ -441,7 +441,9 @@ let nugetPack bundle outPath = List.choose (function | (_, Some (target:string), _) when target.StartsWith("src") -> None | (s, t, None) -> Some (s, t, Some ("**/*.pdb")) | (s, t, Some e) -> Some (s, t, Some (e + ";**/*.pdb"))) f + // first pass - generates symbol + normal package. NuGet does drop the symbols from the normal package, but unfortunately not the sources. NuGet (updateNuspec pack outPath NugetSymbolPackage.Nuspec withLicenseReadme) "build/MathNet.Numerics.nuspec" + // second pass - generate only normal package, again, but this time explicitly drop the sources (and the debug symbols) NuGet (updateNuspec pack outPath NugetSymbolPackage.None (withLicenseReadme >> withoutSymbolsSources)) "build/MathNet.Numerics.nuspec" CleanDir "obj/NuGet"