clj
, shadow-cljs
, node
and babashka
.
The project's Github Pages site hosts an interactive Clerk notebook demonstrating the library's use.
To start a shadow-cljs process watcher for the JS required to run the Clerk notebook, run
bb dev-notebook
Then start a Clojure process however you like, and run (user/start!)
to run
the Clerk server. This command should open up localhost:7777
.
To test the Pages build locally:
bb publish-local
This will generate the static site in public
, start a development http server
and open up a browser window (http://127.0.0.1:8080/) with the production build
of the documentation notebook.
To build and release to Github Pages:
bb release-gh-pages
This will ship the site to https://leva.mentat.org.
The template for the project's pom.xml
lives at
template/pom.xml
.
To create a new release:
- Update the version in build.clj
- Make a new Github
Release with tag
v<the-new-version>
.
Submitting the release will create the new tag and trigger the following command:
bb release
The new release will appear on Clojars.
Code is linted with clj-kondo
. Install
clj-kondo
then run
bb lint