Files
tbd/script/repl
ajet 93c4b340e4
CI / Unit tests (push) Failing after 1m0s
CI / Integration tests + coverage (push) Has been skipped
making franz happy
2026-09-19 05:50:34 -09:00

14 lines
348 B
Bash
Executable File

#!/usr/bin/env bash
# Start an nREPL server with dev dependencies, on the port in .nrepl-port (default 3000).
set -euo pipefail
cd "$(dirname "$0")/.."
port=3000
if [[ -f .nrepl-port ]]; then
port=$(tr -d '[:space:]' < .nrepl-port)
fi
exec clojure -A:dev -M -m nrepl.cmdline \
--middleware "[cider.nrepl/cider-middleware]" \
--port "$port"