I have some nice debug tools that I want automatically read in when I start a REPL (I most-often use cider in emacs). I sort-of managed it with the following "~/.lein/profiles.clj" file:
{:user {:plugins [[lein-midje "3.1.3"]] :dependencies [[org.clojure/tools.trace "0.7.8"]] :source-paths ["/Users/sford/.clj"]}} Under "/users/sford/.clj" I have a "user.clj" file which contains the tools I want read in. This works if I start the repl from a directory which has a "project.clj" file. But if I'm in a directory without that file, I guess lein thinks that I don't have a project and don't want it to do its magic. I don't want this to be dependent on being in a lein project. (I know ... then why use lein? Because I want to use emacs/cider, and it uses the lein repl. I think. I'm kinda new to all this... Is there a different way to auto-load the tools? Maybe something not specific to lein? Steve -- 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/d/optout.