anchor.diff:    seq [
       "src/bin"
       "src/obj"
  +    "docs/bin"
  +    "docs/obj"
     ] |> CleanDirs
   )
   
  
positive.code:     |> Async.RunSynchronously
  )
  
  Target "Publish" DoNothing
  
  // Build order
  "Meta"
      // ==> "InstallDotNetCore"
  
negative.code: // Build a NuGet package
  
  Target "Package" (fun _ ->
      runDotnet "src" "restore"
      runDotnet "src" "pack -c Release"
  )
  
  Target "PublishNuget" (fun _ ->
      let nugetKey =
          match environVarOrNone "NUGET_KEY" with
          | Some nugetKey -> nugetKey
          | None -> failwith "The Nuget API key must be set in a NUGET_KEY environmental variable"
  
      Directory.GetFiles("src" </> "bin" </> "Release", "*.nupkg")
      |> Array.find(fun nupkg -> nupkg.Contains(release.NugetVersion))
      |> (fun nupkg ->
              (Path.GetFullPath nupkg, nugetKey)
              ||> sprintf "nuget push %s -s nuget.org -k %s"
              |> runDotnet "src"
      )
  )
  
  
  // --------------------------------------------------------------------------------------
  // Generate the documentation
  