From fb803a0994cd07a7eb47e9c989241dc7a97eb2a9 Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Tue, 7 Jul 2020 13:10:56 -0700 Subject: [PATCH] Return correct path in native executable task Bonus: throw an error if native building fails --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 569d63969..f96f13c8c 100644 --- a/build.sbt +++ b/build.sbt @@ -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",