anchor.diff:  open Fake.Git
   open Fantomas.FakeHelpers
   open Fantomas.FormatConfig
  +open System.IO
   
   // Directories
   let appName = "BrainSharp"
  +
   // version info
  -let version = "0.1" // or retrieve from CI server
  +let version = 
  +    match buildServer with
  +    | AppVeyor -> AppVeyorEnvironment.BuildVersion
  +    | _ -> "0.1" // or retrieve from CI server
  +
   let buildDir = "./build/"
   let deployDir = "./deploy/"
  -let deployItem version = deployDir + appName + version + ".zip"
  +let deployItem = deployDir + appName + "_" + version + ".zip"
   
   let fantomasConfig = 
       { FormatConfig.Default with PageWidth = 80
  
positive.code: 
  Target "Debug" (fun _ -> DoBuild MSBuildDebug)
  Target "Release" (fun _ -> DoBuild MSBuildRelease)
  Target "Deploy" 
      (fun _ -> 
      !!(buildDir + "/**/*.*") -- "*.zip" |> Zip buildDir (deployItem version))
  Target "FormatCode" (fun _ -> 
      sourceFiles
      |> formatCode fantomasConfig
      |> Log "Formatted Files: ")
  Target "AppVeyor" 
      (fun _ -> 
      PushArtifact
          (fun p -> { p with Path = deployItem AppVeyorEnvironment.BuildVersion }))
  // Build order
  "Clean" ?=> "Debug"
  "Clean" ?=> "Release" ==> "Deploy" ==> "AppVeyor"
  
negative.code: // Filesets
  let appReferences = !!"/**/*.csproj" ++ "/**/*.fsproj"
  let sourceFiles = !!"src/**/*.fs" ++ "src/**/*.fsx" ++ "build.fsx"
  let binaryFiles = !!(buildDir + "**/*.*") -- "build/**/*.pdb" -- "build/**/*.xml" -- "build/**/*.zip"
  
  // Targets
  Target "Clean" (fun _ -> CleanDirs [ buildDir; deployDir ])
  