Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.37 KB

DEVELOPMENT.md

File metadata and controls

52 lines (29 loc) · 1.37 KB

Development guide

Environment

For development, you will need:

The easiest way to install Java and Clojure is using ASDF and running

asdf install

from the root of the project.

Tools

I recommend using a combination of Emacs, Clojure-LSP and CIDER.

Another alternative is using Visual Studio Code and Calva.

Useful commands

Fetch deps with lein deps

Compile the project with lein compile

Run using lein run or with an interactive REPL: lein repl

Run all tests using lein test

Build

Simply run

lein uberjar

This will build a fully self-contained JAR, ready to be run anywhere.

Tips

It is very useful to interactively create a driver instance using the Lein REPL or CIDER / Calva jack-in, and then step through the driver steps by evaluating forms (functions) that act on the driver instance.

In some pages, it is easier to simply send multiple keyboard TAB inputs to select the wanted input, rather than rely on complex selectors. We use this strategy a lot in the time pair entry form.