Skip to content

Instantly share code, notes, and snippets.

@Mark-Broadhurst
Last active August 12, 2016 08:43
Show Gist options
  • Save Mark-Broadhurst/326ba07cd6707a0caab3f89779dd5d08 to your computer and use it in GitHub Desktop.
Save Mark-Broadhurst/326ba07cd6707a0caab3f89779dd5d08 to your computer and use it in GitHub Desktop.
Paket Bootstrapper
if not (File.Exists "paket.exe") then
let url = "https://github.com/fsprojects/Paket/releases/download/3.12.0/paket.bootstrapper.exe" in use wc = new System.Net.WebClient() in let tmp = Path.GetTempFileName() in wc.DownloadFile(url, tmp);
File.Move(tmp,"paket.bootstrapper.exe");
System.Diagnostics.Process.Start("paket.bootstrapper.exe") |> ignore;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment