Skip to content

Instantly share code, notes, and snippets.

@lukateras
Last active February 1, 2019 07:57
Show Gist options
  • Save lukateras/af1f7a2c7a9474dc5d7771b0e182a805 to your computer and use it in GitHub Desktop.
Save lukateras/af1f7a2c7a9474dc5d7771b0e182a805 to your computer and use it in GitHub Desktop.
Project-independent nREPL setup for Clojure CLI
#!/bin/sh
exec clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.20.0"}}}' \
-e '(require `cider-nrepl.main)
(cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment