Leiningen has an "update-in" task for updating the project map on the fly,
so something like:

    lein update-in :codox assoc :writer my.custom/writer -- codox

You have to make sure that the custom writer is on the classpath of course,
which may require updating the project file to include new dependencies as
well.

On 5 March 2018 at 18:45, Janko Muzykant <umr...@gmail.com> wrote:

>
> Codox documentation mentions how to set up a custom output writer using
> leiningen :codox option:
>
>   :codox {:writer codox.writer.html/write-docs}
>
> Is there any way to achieve the same without touching project.clj,
> eg. by providing writer location at lein command-line (similarly to what
> boot-codox provides with -w option) and by injecting writer
> implementation into a classpath?
>
> JM.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
James Reeves
booleanknot.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to