refactor: Rename '--target-*' options
This commit is contained in:
parent
bd33a10f07
commit
85c9732271
@ -92,9 +92,9 @@ Options:
|
|||||||
--pull check if more recent JDK/JRE distro is available;
|
--pull check if more recent JDK/JRE distro is available;
|
||||||
by default latest cached version that matches
|
by default latest cached version that matches
|
||||||
"--java-version" is used
|
"--java-version" is used
|
||||||
--target-linux create binary for Linux
|
--linux create binary for Linux
|
||||||
--target-macos create binary for macOS
|
--macos create binary for macOS
|
||||||
--target-windows create binary for Windows
|
--windows create binary for Windows
|
||||||
if no targets are specified then binaries for
|
if no targets are specified then binaries for
|
||||||
all targets are created
|
all targets are created
|
||||||
--jvm-impl jvm implementation: hotspot or openj9
|
--jvm-impl jvm implementation: hotspot or openj9
|
||||||
|
12
warp4j
12
warp4j
@ -22,9 +22,9 @@ function print_help {
|
|||||||
echo ' --pull check if more recent JDK/JRE distro is available;'
|
echo ' --pull check if more recent JDK/JRE distro is available;'
|
||||||
echo ' by default latest cached version that matches'
|
echo ' by default latest cached version that matches'
|
||||||
echo ' "--java-version" is used'
|
echo ' "--java-version" is used'
|
||||||
echo ' --target-linux create binary for Linux'
|
echo ' --linux create binary for Linux'
|
||||||
echo ' --target-macos create binary for macOS'
|
echo ' --macos create binary for macOS'
|
||||||
echo ' --target-windows create binary for Windows'
|
echo ' --windows create binary for Windows'
|
||||||
echo ' if no targets are specified then binaries for'
|
echo ' if no targets are specified then binaries for'
|
||||||
echo ' all targets are created'
|
echo ' all targets are created'
|
||||||
echo ' --jvm-impl jvm implementation: hotspot or openj9'
|
echo ' --jvm-impl jvm implementation: hotspot or openj9'
|
||||||
@ -95,15 +95,15 @@ while [[ $# -gt 0 ]]; do
|
|||||||
PULL=true
|
PULL=true
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--target-linux)
|
--linux)
|
||||||
TARGETS+=($LIN)
|
TARGETS+=($LIN)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--target-macos)
|
--macos)
|
||||||
TARGETS+=($MAC)
|
TARGETS+=($MAC)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--target-windows)
|
--windows)
|
||||||
TARGETS+=($WIN)
|
TARGETS+=($WIN)
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user