We very much appreciate contributions from the community.
If you have an idea or a fix, please do raise a GitHub issue before investing in any coding effort. That way we can discuss first. Writing code is the easy part, maintaining it forever is the hard part.
That said, if you notice a simple typo, a PR without an issue is fine.
The current version of Babashka.
-
Our scripts use Babashka to launch Clojure, so you don’t absolutely need the Clojure cli’s
clojure
command. -
JDK, see supported environments
Clj-http-lite is babashka compatible.
Babashka supports everything that clj-http-lite needs, but when making changes, be aware that your code must also work under Babashka.
If your change requires something Babashka does not currently support, we can bring it up with the babashka team, things like adding a class are usually approved.
All documentation is written in AsciiDoc. @lread likes to follow AsciiDoc best practice of one sentence per line but won’t be entirely pedantic about that.
We host our docs on cljdoc.
We use Babashka tasks, to see all available tasks run:
bb tasks
Optionally:
$ bb clean
$ bb deps
Run all Clojure tests against minimum supported version of Clojure (1.8):
$ bb test:jvm
Run tests against a specific Clojure version, for example 1.11
$ bb test:jvm --clj-version 1.11
You can also include cognitect test runner options:
$ bb test:jvm --clj-version 1.9 --namespace-regex '*.sanity.*'
To run the entire test suite under Babashka:
$ bb test:bb
You can also include cognitect test runner options:
$ bb test:bb --var clj-http.lite.integration-test/roundtrip