On Wed, Oct 5, 2011 at 3:03 PM, Rob Wolfe <r...@smsnet.pl> wrote: > Dave Sann <daves...@gmail.com> writes: > >> Hey Rob, Thanks for your reply, >> >> I will try that for my projects >> >> My use case is slightly different though. I want to be able to build other >> peoples projects from source (e.g. from github) without editing any of the >> project.clj files - but still overriding to use my local repository. >> >> Any ideas? > > Quick and dirty hack is adding to init.clj something like this:
This should work, but as you've noticed it's pretty ugly. This functionality is excluded from Leiningen on purpose because it would encourage projects that can't build from project.clj alone. There are a few places where you legitimately need to exclude necessary info from project.clj (deploy credentials mostly), but in general we want to avoid Works on My Machine scenarios. -Phil -- 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