This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-02
Channels
- # admin-announcements (1)
- # aws-lambda (9)
- # beginners (161)
- # boot (1)
- # cider (3)
- # cljsrn (36)
- # clojure (245)
- # clojure-austin (2)
- # clojure-denmark (3)
- # clojure-dev (11)
- # clojure-greece (6)
- # clojure-italy (25)
- # clojure-russia (5)
- # clojure-serbia (1)
- # clojure-spec (76)
- # clojure-uk (78)
- # clojurescript (168)
- # clojurex (4)
- # community-development (7)
- # core-async (11)
- # core-logic (5)
- # css (6)
- # cursive (8)
- # data-science (6)
- # datomic (5)
- # devops (4)
- # duct (17)
- # emacs (1)
- # figwheel (8)
- # fulcro (51)
- # hoplon (4)
- # instaparse (3)
- # kekkonen (6)
- # klipse (3)
- # lein-figwheel (9)
- # luminus (2)
- # lumo (3)
- # midje (4)
- # off-topic (11)
- # om (4)
- # onyx (62)
- # other-languages (60)
- # re-frame (21)
- # reagent (63)
- # rum (1)
- # shadow-cljs (22)
- # spacemacs (22)
- # specter (23)
- # test-check (2)
- # vim (2)
- # yada (6)
@alexmiller I’m looking into using the clojure
script from shadow-cljs
. It currently does basically all the same stuff using cemerick/pomegranate
. Currently it would need to use clojure -Spath
and then inject one more source path where it can put the AOT classes + adding the -Dclojure.compile.path
prop. Is that maybe something the tool could do itself via a flag?
You can handle the source path in :paths (or in a -C alias with :extra-paths)
You can use -J-Dclojure.compile.path=... to cover that
Maybe we could handle the extra paths with a new cli option if you’re looking to avoid touching the deps.edn
yes, trying to avoid touching the deps.edn. don’t want to get into a situation where the user has to add certain boilerplate just to make it work, don’t want to add it automatically since that destroys user formatting (keeping it is rather hard).
we used to have something similar to this for make-classpath classpath-overrides but removed it.
some other options would be a) append the extra path to the output b) use tools.deps.alpha directly rather than via the script
@tristefigure imagine
(foo `(some expr))
where foo is a macroprior to change, foo would receive (clojure.core/seq (clojure.core/concat (clojure.core/list (quote clojure.core/some)) (clojure.core/list (quote user/expr))))
as its argument