Fork me on GitHub

Does Leiningen store REPL inputs? CIDER apparently stores REPL inputs itself, so I'm guessing the answer is no.


The context is that I'm trying to figure out how to implement something like JShell's /save functionality, perhaps as nREPL middleware:

Alex Miller (Clojure team)04:12:32

you can start your own repl that takes over all the various repl phases and do whatever you like (see clojure.main/repl) -

Alex Miller (Clojure team)04:12:21

although I guess that doesn’t help you in nrepl land as that’s the stream-based repl


the lein repl uses a history file created by readline .lein-repl-history


Hi all, anybody know if leiningen have something similar to ci Friendly Versions of maven?


I found a solution: in my project.clj I define a var like : (def build-version (or (System/getenv "BUILD_NUMBER") "LOCAL")) and assigned in defproject: (defproject my-awesome-project build-version and then launch BUILD_NUMBER="1.2.3" lein do test, uberjar