Every release, the native binaries (Windows, Linux and MacOS) are compiled with GraalVM and uploaded to Github releases page.
To build a native image with GraalVM:
- Install the GraalVM 18.104.22.168 for Java 11 and set the
GRAALVM_HOMEto the installation dir.
$GRAALVM_HOME/bin/gu install native-image.
- Unix: Run from
cd cli && ./graalvm/native-windows-compile.bat.
The build may take some minutes and the result will be a
./clojure-lsp native binary.
Debug / development#
make cli-jar for building the jar to be used with LSP protocol in a editor or CLI.
make lib-jar for building the jar to be used on JVM via API.