This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-04
Channels
- # aleph (4)
- # bangalore-clj (1)
- # beginners (89)
- # boot (16)
- # braveandtrue (4)
- # cider (1)
- # cljs-dev (6)
- # cljsrn (90)
- # clojure (132)
- # clojure-austin (1)
- # clojure-dusseldorf (4)
- # clojure-italy (12)
- # clojure-portugal (2)
- # clojure-spec (13)
- # clojure-uk (41)
- # clojurescript (142)
- # code-reviews (19)
- # conf-proposals (1)
- # datascript (6)
- # datomic (7)
- # graphql (12)
- # jobs-discuss (3)
- # keechma (23)
- # leiningen (3)
- # lumo (22)
- # off-topic (7)
- # om (21)
- # onyx (8)
- # parinfer (46)
- # pedestal (3)
- # perun (3)
- # re-frame (10)
- # reagent (30)
- # ring (1)
- # rum (2)
- # spacemacs (1)
- # sql (2)
- # testing (17)
- # yada (32)
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