diff --git a/sdk/clojure/README.md b/sdk/clojure/README.md index a1453aa..c2f9a7c 100644 --- a/sdk/clojure/README.md +++ b/sdk/clojure/README.md @@ -272,11 +272,15 @@ Error kinds: ## Development +Needs a JDK (21+) and the [Clojure CLI](https://clojure.org/guides/install_clojure) +— pinned via [`mise`](https://mise.jdx.dev) (`mise install`). + ```sh -clj -M:test # run the test suite -clj -T:build jar # build target/bsdkrun-.jar -clj -T:build install # install to the local ~/.m2 -clj -T:build deploy # deploy to Clojars (needs CLOJARS_USERNAME / CLOJARS_PASSWORD) +mise install # JDK 21 + the Clojure CLI (or install them yourself) +clj -M:test # run the test suite +clj -T:build jar # build target/bsdkrun-.jar +clj -T:build install # install to the local ~/.m2 +clj -T:build deploy # deploy to Clojars (needs CLOJARS_USERNAME / CLOJARS_PASSWORD) ``` Tests are unit tests only — argv building, JSON-row decoding, and binary diff --git a/sdk/clojure/mise.toml b/sdk/clojure/mise.toml new file mode 100644 index 0000000..d2b4a6b --- /dev/null +++ b/sdk/clojure/mise.toml @@ -0,0 +1,3 @@ +[tools] +java = "21" +clojure = "latest"