Clojurians
#cljs-dev
<
2015-08-31
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

dnolen17:08:17

@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

dnolen17:08:36

we need that first in order to refactor the compiler for CLJS-1437

juhoteperi17:08:32

@dnolen: the api requedt was about dependency sorted list of all outputs, but yeah inputs is probably quite similar

dnolen17:08:20

@juhoteperi: it’s 1-1 anyway so it’s really the same thing

juhoteperi17:08:36

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?

juhoteperi22:08:01

Finding all the cljs sources in given dir/dirs is easy, there is already function for that.

juhoteperi22:08:15

To find all dependencies for those cljs sources I used the same loop as cljs-dependecies but changed compile to parse-ns.

dnolen22:08:28

sounds like it’s going in the right direction

juhoteperi22:08:45

I still need to go through few lines in add-dependencies to see if those are needed in the new version.