Use Path.Combine instead of absolute path.

This commit is contained in:
Jarl Gullberg 2017-12-27 21:22:37 +01:00
parent ed63f5cfe7
commit 01485af880
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -105,7 +105,7 @@ let generateBindings =
|> MSBuildRelease "" "Build"
|> ignore
let bindingProcess = new Process()
bindingProcess.StartInfo.FileName <- "src/Generator.Bind/bin/Release/Bind.exe"
bindingProcess.StartInfo.FileName <- Path.Combine("src", "Generator.Bind", "bin", "Release", "Bind.exe")
bindingProcess.Start() |> ignore
bindingProcess.WaitForExit() |> ignore
File.Create(".bindingsGenerated").Close() |> ignore