Skip to content

Instantly share code, notes, and snippets.

View aph5nt's full-sized avatar

Kamil Wojciechowski aph5nt

View GitHub Profile
let compileScript(state : State) =
if(state.hasStartupScript = false) then Success(state, [])
else
try
if File.Exists(outputAssembly) then
File.Delete(outputAssembly)
let provider = new FSharpCodeProvider()
let params'= CompilerParameters()
params'.GenerateExecutable <- false