Build the project
This commit is contained in:
parent
b429296967
commit
05deb1f089
1 changed files with 11 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
open System
|
||||||
|
open System.IO
|
||||||
open Fli
|
open Fli
|
||||||
|
|
||||||
[<EntryPoint>]
|
[<EntryPoint>]
|
||||||
|
|
@ -18,4 +20,13 @@ let main argv =
|
||||||
eprintfn "Uncommitted changes. Refusing to run."
|
eprintfn "Uncommitted changes. Refusing to run."
|
||||||
exit 2
|
exit 2
|
||||||
|
|
||||||
|
cli {
|
||||||
|
Exec "dotnet"
|
||||||
|
Arguments [ "build"; argv[0] ]
|
||||||
|
Output(new StreamWriter(Console.OpenStandardOutput()))
|
||||||
|
}
|
||||||
|
|> Command.execute
|
||||||
|
|> Output.throwIfErrored
|
||||||
|
|> ignore
|
||||||
|
|
||||||
0
|
0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue