anchor.diff:  "ReleaseDocs"
     ==> "Release"
   
  -"BuildPackage"
  -  ==> "PublishNuget"
  -  ==> "Release"
  -
   RunTargetOrDefault "All"
  
positive.code: )
  
  #endif
  
  // --------------------------------------------------------------------------------------
  // Build a NuGet package
  
  Target "NuGet" (fun _ ->
      Paket.Pack(fun p ->
          { p with
              OutputPath = "bin"
              Version = release.NugetVersion
              ReleaseNotes = toLines release.Notes})
  )
  
  Target "PublishNuget" (fun _ ->
      Paket.Push(fun p ->
          { p with
              WorkingDir = "bin" })
  )
  
  
  // --------------------------------------------------------------------------------------
  
negative.code:   ==> "All"
    =?> ("ReleaseDocs",isLocalBuild)
  
  "CleanDocs"
    ==> "GenerateHelp"
    ==> "GenerateReferenceDocs"
  