Returns a seq of the namespaces that are compilable, regardless of whether
their class files are present and up-to-date.
(defn compilable-namespaces
"Returns a seq of the namespaces that are compilable, regardless of whether
their class files are present and up-to-date."
[project]
(let [nses (or (:aot project) (:namespaces project))
nses (set (cond
(coll? nses) nses
(= :all nses)
(find-namespaces-in-dir (file (:source-path project)))))]
(if (:main project)
(conj nses (:main project))
nses)))
Comments top
No comments for compilable-namespaces. Log in to add a comment.