Skip to content

Instantly share code, notes, and snippets.

View lepinay's full-sized avatar

foo bar code lepinay

View GitHub Profile
@lepinay
lepinay / gist:90836b560b8da7f6df2d
Last active August 29, 2015 14:16
Unit testing in F# interactive
open System
open System.IO
Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
if not (File.Exists "paket.exe") then
let url = "https://github.com/fsprojects/Paket/releases/download/0.26.3/paket.exe"
use wc = new Net.WebClient() in let tmp = Path.GetTempFileName() in wc.DownloadFile(url, tmp); File.Move(tmp,Path.GetFileName url)