anchor.diff:                      info.FileName <- signtool
                       info.Arguments <- args) System.TimeSpan.MaxValue
               if result <> 0 then failwithf "Error during signing %s with %s" executable pfx)
  +)
  +
  +Target "CalculateDownloadHash" (fun _ ->
  +    use stream = File.OpenRead(paketFile)
  +    use sha = new SHA256Managed()
  +    let checksum = sha.ComputeHash(stream)
  +    let hash = BitConverter.ToString(checksum).Replace("-", String.Empty)
  +    File.WriteAllText(buildMergedDir @@ "paket-sha256.txt", sprintf "%s paket.exe" hash)
   )
   
   Target "NuGet" (fun _ ->    
  
positive.code: let buildDir = "bin"
  let tempDir = "temp"
  let buildMergedDir = buildDir @@ "merged"
  
  Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
  // Read additional information from the release notes document
  
negative.code: 
  let mergeLibs = ["paket.exe"; "Paket.Core.dll"; "FSharp.Core.dll"; "Newtonsoft.Json.dll"; "Argu.dll"; "Chessie.dll"; "Mono.Cecil.dll"]
  
  Target "MergePaketTool" (fun _ ->
      CreateDir buildMergedDir
      
      let toPack =
          mergeLibs
          |> List.map (fun l -> buildDir @@ l)
  