Example of filename-fn for deps.edn #25
Unanswered
CambodianCoder
asked this question in
Q&A
Replies: 2 comments
-
Edn doesn't support regex literals, but you could write quickdoc_script.clj (ns quickdoc-script
(:require [quickdoc.api :refer [quickdoc]]))
(defn docs []
(quickdoc {:filename-fn ...})) and call this from your alias: :paths ["."]
:exec-fn quickdoc-script/docs |
Beta Was this translation helpful? Give feedback.
0 replies
-
The newest release now has |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw examples of using
filename-fn
for a babashka task.Could you provide an example of using
filename-fn
when used in a deps.edn file?Use case is to append a sub-directory name in front of the link path that is generated.
Currently attempting the following in deps.edn
but this results in the message
Error building classpath. Error reading edn. No dispatch macro for: {path-to-deps.edn}
Is the filename-fn supposed to be defined in a clojure namespace?
Beta Was this translation helpful? Give feedback.
All reactions