anchor.diff:  let buildDir = "./build/"
   
   
  +
   let pkgFiles()=
       let packFilesPattern=outDir @@ "*.nupkg"
       let ignoreSymbolsPattern=outDir @@ "*symbols.nupkg"
       (--) !!packFilesPattern <| ignoreSymbolsPattern |> Seq.head
  +
  +
  +
   
   
   Target "Clean" (fun _ ->  
  
positive.code: Target "Build" (fun _ -> 
      restore projDir |> ignore
      let result= compile projDir
      if result = 0 then trace "build ok"
      else 
          failwith "build failed"            
  )
   
  Target "Pack" ( fun _ ->
  
negative.code:   
  )
  
  
  Target "Push"(fun _ -> pkgFiles()|> push |> ignore)
  
  Target "Local"( fun _ ->
     !! pkgFiles() |> CopyFiles localNugetRepo)
  
  
  
  // Dependencies
  
  "Clean"
      ==>"Build"
      ==>"Test"
      ==>"Pack"
      ==>"Local"
  
  "Clean"
      ==>"Build"
      ==>"Test"
      ==>"Pack"
  