Return correct path in native executable task

Bonus: throw an error if native building fails
This commit is contained in:
Ethan Atkins 2020-07-07 13:10:56 -07:00
parent 2ecf5967ee
commit fb803a0994
1 changed files with 1 additions and 1 deletions

View File

@ -1107,8 +1107,8 @@ lazy val sbtClientProj = (project in file("client"))
}
thread.start()
proc.waitFor(5, java.util.concurrent.TimeUnit.MINUTES)
assert(proc.exitValue == 0, s"Exit value ${proc.exitValue} was nonzero")
nativeExecutablePath.value
file("").toPath
},
graalNativeImageOptions := Seq(
"--no-fallback",