We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-o
native-image
1 parent 73ac8ee commit cac7c1fCopy full SHA for cac7c1f
packages/cli/src/main/kotlin/elide/tool/cli/cmd/tool/nativeImage/NativeImageAdapter.kt
@@ -151,7 +151,12 @@ import elide.tooling.project.ElideProject
151
listOf(it)
152
}
153
154
- val outSpecPositionMinusOne = argsList.indexOf("-H:Path")
+ val outSpecPositionMinusOne = (
155
+ when (val idx = argsList.indexOf("-H:Path")) {
156
+ -1 -> argsList.indexOf("-o")
157
+ else -> idx
158
+ }
159
+ )
160
val outSpec = if (outSpecPositionMinusOne < 0) {
161
// come up with an output path; use `.dev/artifacts/native-image` by default
162
// @TODO resolve from config
0 commit comments