Build target literals inconsistent for native image builds
odrotbohm opened this issue · comments
Oliver Drotbohm commented
$ just build native-image --quick
██╗██╗ ██╗███████╗████████╗
██║██║ ██║██╔════╝╚══██╔══╝
██║██║ ██║███████╗ ██║
██ ██║██║ ██║╚════██║ ██║
╚█████╔╝╚██████╔╝███████║ ██║
╚════╝ ╚═════╝ ╚══════╝ ╚═╝
Invalid value for positional parameter at index 0 (<buildTarget>): there is no target native-image. Choose one of: [image, native, jar, native_image]
Usage: just build [--quick] [--skip-tests] [<buildTarget>]
builds application
[<buildTarget>] one of: jar, native, image, native-image
--quick runs fast build, skip tests, skips docs generation and
all possible checks
--skip-tests skips tests
Note how I used native-image
(with dash). The error message shows native_image
, but the help shows native-image
(with dash, again).
Maciej Walkowiak commented
Thanks for reporting @odrotbohm!