@@ -20,13 +20,6 @@ open SourceLink
2020
2121let project = " FSharp.Compiler.Service"
2222let authors = [ " Microsoft Corporation, Dave Thomas, Anh-Dung Phan, Tomas Petricek" ]
23- let summary = " F# compiler services for creating IDE tools, language extensions and for F# embedding"
24- let description = """
25- The F# compiler services package contains a custom build of the F# compiler that
26- exposes additional functionality for implementing F# language bindings, additional
27- tools based on the compiler or refactoring tools. The package also includes F#
28- interactive service that can be used for embedding F# scripting into your applications."""
29- let tags = " F# fsharp interactive compiler editor"
3023
3124let gitOwner = " fsharp"
3225let gitHome = " https://github.com/" + gitOwner
@@ -142,19 +135,17 @@ Target "RunTests" (fun _ ->
142135// Build a NuGet package
143136
144137Target " NuGet" ( fun _ ->
145- NuGet ( fun p ->
138+ Paket.Pack ( fun p ->
146139 { p with
147- Authors = authors
148- Project = project
149- Summary = summary
150- Description = description
151- Version = buildVersion
152- ReleaseNotes = release.Notes |> toLines
153- Tags = tags
154- OutputPath = buildDir
155- AccessKey = getBuildParamOrDefault " nugetkey" " "
156- Publish = hasBuildParam " nugetkey" })
157- ( " nuget/" + project + " .nuspec" )
140+ Version = release.NugetVersion
141+ ReleaseNotes = toLines release.Notes })
142+ )
143+
144+
145+ Target " PublishNuGet" ( fun _ ->
146+ Paket.Push ( fun p ->
147+ { p with
148+ WorkingDir = buildDir })
158149)
159150
160151// --------------------------------------------------------------------------------------
@@ -241,6 +232,7 @@ Target "All" DoNothing
241232 ==> " GenerateDocsJa"
242233 ==> " GenerateDocs"
243234 ==> " ReleaseDocs"
235+ ==> " PublishNuGet"
244236 ==> " Release"
245237
246238RunTargetOrDefault " All"
0 commit comments