diff --git a/Mutannot/Program.fs b/Mutannot/Program.fs index 1de7c20..98784fb 100644 --- a/Mutannot/Program.fs +++ b/Mutannot/Program.fs @@ -1,3 +1,5 @@ +open System +open System.IO open Fli [] @@ -18,4 +20,13 @@ let main argv = eprintfn "Uncommitted changes. Refusing to run." exit 2 + cli { + Exec "dotnet" + Arguments [ "build"; argv[0] ] + Output(new StreamWriter(Console.OpenStandardOutput())) + } + |> Command.execute + |> Output.throwIfErrored + |> ignore + 0