@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.
Because the :dev
alias is required and therefore you want clojure -X:dev:codox
(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)
Also, clojure
is better to use for non-interactive stuff (otherwise you’re invoking rlwrap
for no good reason).
I responded in the PR as well.
Awesome!