This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-31
Channels
- # admin-announcements (9)
- # announcements (2)
- # beginners (16)
- # boot (18)
- # cider (22)
- # cljs-dev (10)
- # clojure (154)
- # clojure-denmark (5)
- # clojure-dev (5)
- # clojure-nl (2)
- # clojure-russia (13)
- # clojurescript (161)
- # cursive (3)
- # datomic (9)
- # editors (5)
- # emacs (25)
- # hoplon (57)
- # immutant (19)
- # instaparse (1)
- # ldnclj (2)
- # liberator (19)
- # off-topic (7)
- # re-frame (12)
- # reagent (10)
@juhoteperi: so it seems like CLJS-1437 is actually a bit tricky but it does dovetail into your api request for a way to get a dependency sorted list of all inputs to the compiler
@dnolen: the api requedt was about dependency sorted list of all outputs, but yeah inputs is probably quite similar
@juhoteperi: it’s 1-1 anyway so it’s really the same thing
It's possible to build complete output graph from js-dependency-index
and ::namespaces
after the build, but before build isn't it possible that build would find some new namespaces which are not yet analyzed and thus not in compiler-state?
Made some progress: https://github.com/clojure/clojurescript/compare/master...Deraen:compile-depenendency-ordering
Finding all the cljs sources in given dir/dirs is easy, there is already function for that.
To find all dependencies for those cljs sources I used the same loop as cljs-dependecies
but changed compile
to parse-ns
.
I still need to go through few lines in add-dependencies
to see if those are needed in the new version.