Skip to content

Building#

GraalVM#

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 22.2.0 for Java 11 and set the GRAALVM_HOME to the installation dir.
  • Install native-image with $GRAALVM_HOME/bin/gu install native-image.
  • Run from clojure-lsp project root bb native-cli.

The build may take some minutes and the result will be a ./clojure-lsp native binary.

Debug / development#

  • Run bb debug-cli.

Jar#

Editor/CLI#

Run bb cli-jar for building the jar to be used with LSP protocol in a editor or CLI.

JVM API#

Run bb lib-jar for building the jar to be used on JVM via API.


Last update: September 25, 2022