One option is to run a replica from leiningen own jar file.
$ java -cp ~/.lein/self-installs/leiningen-2.5.0-standalone.jar clojure.main Clojure 1.6.0 user=> (require '[leiningen.core.project :as project] '[leiningen.test :as test]) nil user=> (def prj (project/read))
As a baseline, this can run lein tasks without having to restart the lane every time. If you also use rlwrap or use nrepl , it becomes more convenient. As far as I know, this does not have convenient tools (although it can easily be there).
If you want to use tasks from lein plugins, you can add them to arg -cp .
source share