Add binding generation as an additional onetime build step.

This commit is contained in:
Jarl Gullberg 2017-12-27 20:04:37 +01:00
parent 7fd3d75f6c
commit 73b9d56456
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -106,9 +106,9 @@ let generateBindings =
|> ignore
let bindingProcess = new Process()
bindingProcess.StartInfo.FileName <- "src/Generator.Bind/bin/Release/Bind.exe"
bindingProcess.Start()
bindingProcess.WaitForExit()
File.Create(".bindingsGenerated").Close();
bindingProcess.Start() |> ignore
bindingProcess.WaitForExit() |> ignore
File.Create(".bindingsGenerated").Close() |> ignore
// Generate assembly info files with the right version & up-to-date information