This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-05
Channels
- # beginners (53)
- # boot (6)
- # braveandtrue (12)
- # cider (50)
- # cljs-dev (24)
- # clojure (60)
- # clojure-finland (1)
- # clojure-ireland (1)
- # clojure-italy (50)
- # clojure-kc (1)
- # clojure-nl (20)
- # clojure-norway (1)
- # clojure-portugal (1)
- # clojure-russia (2)
- # clojure-sanfrancisco (1)
- # clojure-sweden (1)
- # clojure-uk (176)
- # clojurescript (58)
- # cursive (14)
- # datomic (23)
- # emacs (4)
- # events (16)
- # fulcro (35)
- # graphql (48)
- # hyperfiddle (9)
- # jobs (5)
- # mount (4)
- # onyx (13)
- # overtone (1)
- # play-clj (2)
- # re-frame (91)
- # reagent (9)
- # reitit (9)
- # shadow-cljs (102)
- # sql (3)
- # testing (3)
- # tools-deps (3)
What would be the best resource to get acquainted with the CLJS compiler API? I’d be interested in reading in CLJS files for doing some static analysis purposes (looking up e.g. re-frame subs and building dependency graphs etc) I just blindly tried the analyze-file
but it needs all the dependencies to be fed to it and it was not completely obvious as how to actually do that. Any good starting points?
arggh sorry @mfikes, I told jenkins to cut a tools.reader release after TRDR-52 but didn't notice it failed to push it
Canary to the rescue again 🙂 It caught https://dev.clojure.org/jira/browse/CLJS-2807
@ambrosebs do you want to take 2807? we should probably address that first before the others
@dnolen Yeah – exactly where I started off a while ago. Will ask more when I bump into issues – thanks!
@mikko you might want to play around with analyze-form-seq
or whatever that helper is called
@ambrosebs I just gave you write access to the canary repo, if you are having troubles running canary locally, you can commit into “jobs” branch of that repo to trigger a new canary build. in your case something like job --compiler-repo
, see https://github.com/cljs-oss/canary/tree/jobs
in github ui I still see “Awaiting frenchy64's response”, I think you have to accept the invitation firts
@ambrosebs btw. in --compiler-rev
you can use branch/tag names or other forms git checkout
understands, so --compiler-rev CLJS-2807
should work as well
@ambrosebs your patch worked, there are some failed projects in canary job#466, but for a different reason - they do not respect custom --compiler-repo, I reported it here https://github.com/cljs-oss/canary/issues/5, I think @mfikes fixes it eventually
@dnolen rebased patch for https://dev.clojure.org/jira/browse/CLJS-2803