Skip to content

Instantly share code, notes, and snippets.

@Mark-Broadhurst
Last active August 12, 2016 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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