anchor.diff:      //PNuGet.Publish (projectRoot </> "pkg")
   )
   
  -RunTarget()
  +Fake.Core.Target.runOrDefault ""
  
positive.code: #r "../bin/Debug/FAKE/FakeLib.dll"
  #load "../bin/Debug/bits/PlainionCI.fsx"
  
  open Fake
  open PlainionCI
  
  Target "CreatePackage" (fun _ ->
      !! ( outputPath </> "*.*Tests.*" )
      ++ ( outputPath </> "*nunit*" )
      ++ ( outputPath </> "TestResult.xml" )
      |> DeleteFiles
  
      !! ( outputPath </> "Plainion.CI.Redist.*" )
      ++ ( outputPath </> "**/*.pdb" )
      |> DeleteFiles
  
      PZip.PackRelease()
  
  
negative.code: //    |> PNuGet.Pack (projectRoot </> "build" </> "Dummy.nuspec") (projectRoot </> "pkg")
  )
  
  Fake.Core.Target.create "Deploy" (fun _ ->
      let releaseDir = @"\bin\Plainion.CI"
  
      Fake.IO.Shell.cleanDir releaseDir
  
      // always deploy through the zip also locally to test zip which gets uploaded to github then
      let zip = PZip.GetReleaseFile()
  
      Fake.IO.Zip.unzip releaseDir zip
  )
  
  Fake.Core.Target.create "Publish" (fun _ ->
      let zip = PZip.GetReleaseFile()
  
      PGitHub.Release [ zip ]
  