pre-cache dependencies for repl profile? #1076

Closed
ephaeton opened this Issue Mar 18, 2013 · 3 comments

Comments

3 participants

lein deps does not fetch all dependencies.
I hate to add :offline? true to my project.clj and going on the road just to find out lein repl won't work. I don't know if other tasks of leiningen also silently add depencies. If they do, they might benefit from using a fixed and well-defined profile (i.e. e.g. add a :repl profile to a standard leiningen install that explicits the deps).

Collaborator

hypirion commented Mar 18, 2013

Ah, this is specific for the REPL task. It is because repl.clj has hardcoded some dependencies which is needed, unless the profile override those defaults.

Then IMHO lein deps should know about these dependencies and fetch them, if not explicitly fulfilled (i.e., merge the default, built-in dependencies with the user specified ones, fetch what's missing).

Owner

technomancy commented Mar 18, 2013

Related to #815 and #520. One solution might be to add the :repl profile into the list of merged-by-default profiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment