Fork me on GitHub
#leiningen
<
2017-08-04
>
p-himik12:08:00

How can I extract a map from project.clj to use it two times in the configuration? Namely, I'm trying to follow https://github.com/binaryage/dirac-sample/blob/master/project.clj#L170-L196 but I don't like the fact that :all-builds there contains the same info as :demo profile, for the most part. I extracted the common part into (def main-build {...}) at the top of project.clj and included it simply as :all-builds [~(merge-with merge main-build {...})], but when I try to run REPL, I get:

Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: main-build in this context

mrchance19:08:07

Hi, ist there a known issue that can stop leiningen from working completely? A friend just ran into it, and lein <anything> just hangs for him now, even after deleting ~/.lein

mrchance20:08:31

Happened during dependency download with a completely fresh leiningen install. Last output before its unfortunate and permanent demise was

Retrieving com/yahoo/platform/yui/yuicompressor/2.4.8/yuicompressor-2.4.8.jar from central