Another great feature of Leiningen is the :injections key in project.clj. This lets you run arbitrary code on the Leiningen-managed JVM startup. I recommend this when using Spyscope, which is a debugging tool that only needs to be required before you can use it: https://github.com/dgrnbrg/spyscope#usage
Using :injections is a powerful to customize the default referred vars, as well. On Monday, November 25, 2013 10:01:12 AM UTC-5, Moritz Ulrich wrote: > > Leiningen profiles in ~/.lein/profiles.clj will be merged into the > current project.clj by leiningen. Also dumented in > https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ftechnomancy%2Fleiningen%2Fblob%2Fstable%2Fdoc%2FPROFILES.md&sa=D&sntz=1&usg=AFQjCNGPecCbKEDAS5MWZP4qvsqXetVkTw> > > > On Mon, Nov 25, 2013 at 3:34 PM, Dave Tenny <dave....@gmail.com<javascript:>> > wrote: > > With all my attention on trying to learn things about clojure, I've > either > > missed or forgotten how do to a simple thing. > > > > As I learn clojure I'm writing a few definitions that represent tools I > like > > to use in development. > > > > What is the simplest way to have those tools present in arbitrary > clojure > > REPLs started with lein repl, emacs cider-jack-in, etc., without putting > > them in project.clj files for every lein project I'm working on ? > > > > I just want to load some things into the user (or other default ns if my > > hypothetical .cljrc changes it) namespace and have it happen all the > time, > > except when I'm doing release builds and such of a particular project. > > > > Suggestions? > > > > > > -- > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clo...@googlegroups.com<javascript:> > > Note that posts from new members are moderated - please be patient with > your > > first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups > > "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to clojure+u...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.