anchor.diff:            ProjectFile = projectFile })
   
   // Generate assembly info files with the right version & up-to-date information
  -Target "AssemblyInfo" (fun _ ->
  +Target "AssemblyInfo" <| fun _ ->
       projects
       |> List.iter (fun project ->
           [ Attribute.Title project.Name
  
positive.code:             Publish = hasBuildParam "nugetkey"
              Dependencies = [] })
          (".nuget" @@ project + ".nuspec")
  )
  
  Target "Release" (fun _ ->
      StageAll ""
      Git.Commit.Commit "" (sprintf "Bump version to %s" release.NugetVersion)
      Branches.push ""
  
      Branches.tag "" release.NugetVersion
      Branches.pushTag "" "origin" release.NugetVersion
  )
  
  Target "BuildPackage" DoNothing
  
  
negative.code:         |>
          match project.Type with
          | FSharp -> CreateFSharpAssemblyInfo (project.Folder @@ "AssemblyInfo.fs")
          | CSharp -> CreateCSharpAssemblyInfo (project.Folder @@ "AssemblyInfo.cs"))
  
  // --------------------------------------------------------------------------------------
  // Clean build results & restore NuGet packages
  
  Target "Clean" <| fun _ ->
      CleanDirs [buildDir; "temp"; nugetDir]
  
  // --------------------------------------------------------------------------------------
  // Build library & test project
  
  Target "Build" <| fun _ ->
      projects
      |> List.map (fun project -> project.ProjectFile)
      |> MSBuildRelease "bin" "Rebuild"
      |> ignore
  
  // --------------------------------------------------------------------------------------
  // Build NuGet packages
  
  Target "NuGet" <| fun _ ->
      let nugetlibDir = nugetDir @@ "lib/net45"
      CleanDir nugetlibDir
      CopyDir nugetlibDir "bin" (fun file -> file.Contains "FSharp.Core." |> not)
  