Skip to content

Instantly share code, notes, and snippets.

@sduckett
Last active October 13, 2015 18:19
Show Gist options
  • Save sduckett/6a4cca4f4fc761301bdd to your computer and use it in GitHub Desktop.
Save sduckett/6a4cca4f4fc761301bdd to your computer and use it in GitHub Desktop.
Clojure Dev Environment / Workflows

Found a thread about setting up a Clojure Dev Environment. The responses include

  • use component and tools.namespace together
  • use an nREPL connection through your editor of choice, and if running clj-autotest it should be able to communicate with the same nREPL connection, so you can have the tools handle most of the test running, etc; the REPL tends to be used for the exploratory stuff.
  • Sean Corfield keeps his REPL in the user namespace. each namespace that's being worked on is (required) in the repl, and expressions from the file are evaluated in the repl.
  • you can build a Leiningen template with the setup that works for you (testing tools, REPL initialization, etc.) If you took this approach, you could have both a library (the code you're working on) and a development template. One example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment