From b4253d6f640ff4df7bc285eabd8ffb046a0d13bc Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Fri, 25 Nov 2022 08:19:03 +0100 Subject: [PATCH] Add instructions for building the native executable CLI Signed-off-by: Kai Hudalla --- cli/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 82a61d673a..a35bd03cf2 100644 --- a/cli/README.md +++ b/cli/README.md @@ -8,10 +8,21 @@ using the `--help` and/or `-h` command line options. ## Building +The CLI can be built as a standard Java archive which requires a VM to run or it can be built as a native +(x86_64) Linux executable. + +### Building the JVM based CLI + ```bash # in directory hono/cli/ mvn clean install -cd target/ +``` + +### Building the Native Executable + +```bash +# in directory hono/cli/ +mvn clean install -Pbuild-cli-native-executable ``` ## Usage