anchor.diff:              File.Delete "sources.references"
       else
           File.WriteAllLines("sources.references", newSourceFolders)
  +
  +    printfn "removing paket.lock. InstallSources automatically creates a new one."
  +    File.Delete "paket.lock"
   )
   
   
   Target "InstallSources" (fun () ->
  +
  +    if File.Exists "paket.lock" |> not 
  +    then
  +        printfn "paket.lock is missing. Reinstalling paket sources."
  +        Paket.Dependencies.Locate().Install(true, false, false, false)
  +
       let sourceLines =
           if File.Exists "sources.references" then 
               File.ReadAllLines "sources.references" |> Array.toList
  
positive.code: open Aardvark.Build
  open System.Diagnostics
  open System.Text.RegularExpressions
  
  do Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
  
  let packageNameRx = Regex @"(?<name>[a-zA-Z_0-9\.]+?)\.(?<version>([0-9]+\.)*[0-9]+)\.nupkg"
  
negative.code: "CreatePackage" ==> "Deploy"
  
  // start build
  //RunTargetOrDefault "Default"
  RunTargetOrDefault "InstallSources"
  