Fork me on GitHub
#polylith
<
2021-04-29
>
wactbprot19:04:38

@seancorfield I sent a https://github.com/weavejester/codox/pull/201 to get a deps.edn section into codox readme which raises a question I can not argue: why clj -X:codox even with :exec-args {:source-paths ["components/what-have-you/src" ...]} throws lots of java.io.FileNotFoundException: Could not locate... but clj -A:dev -X:codox not. Sorry tengstrand that the topic does not quite belong here.

seancorfield19:04:47

Because the :dev alias is required and therefore you want clojure -X:dev:codox

seancorfield19:04:46

(I’m guessing Codox tries to load the namespaces and therefore needs them on the classpath as well as being told where to find the source files)

seancorfield19:04:14

Also, clojure is better to use for non-interactive stuff (otherwise you’re invoking rlwrap for no good reason).

seancorfield20:04:03

I responded in the PR as well.