anchor.diff:      [ "bin"
         "temp" ]
   
  -Target "CleanDocs" <| fun _ ->
  +Target "Docs:Clean" <| fun _ ->
     CleanDirs
       [ "docs" @@ "_site"
         "docs" @@ "_api" ]
  
positive.code:     | 0 -> printf "'docfx %s' ran successfully" args
      | x -> failwithf "'docfx %s' has failed with exit code %i" args x
  
  Target "GenerateDocs" <| fun _ ->
    runDocFx ("build docs" @@ "docfx.json")
  
  Target "ServeDocs" <| fun _ ->
    runDocFx ("build docs" @@ "docfx.json --serve")
  
  // --------------------------------------------------------------------------------------
  // Release Scripts
  
  Target "ReleaseDocs" <| fun _ ->
    let tempDocsDir = "temp/gh-pages"
    CleanDir tempDocsDir
    Repository.cloneSingleBranch "" (gitHome + "/" + gitName + ".git") "gh-pages" tempDocsDir
  
negative.code:   ==> "Pack"
    ==> "All"
  
  "Docs:Clean"
    ==> "Docs:Generate"
  
  "Docs:Clean"
    ==> "Docs:Serve"
  
  "Docs:Generate"
    ==> "Release:Docs"
  
  "Pack"
    ==> "Publish"
  
  "Pack"
    ==> "Release:Github"
  
  "Publish"
    ==> "Release:Github"
    ==> "Release:Docs"
    ==> "Release"
  
  RunTargetOrDefault "All"
  