deps.edn
file:
{:deps
{org.clojure/clojure {:mvn/version "1.10.1"}
nrepl {:mvn/version "0.7.0"}
cider/cider-nrepl {:mvn/version "0.25.2"}}}
and write the Makefile
:
# https://clojure.org/guides/deps_and_cli
.PHONY: run
repl:
clj -m nrepl.cmdline \
--middleware "[cider.nrepl/cider-middleware]" \
--interactive
run:
clj -X dg/run
test:
clj -Atest