Warn once when project.clj in checkout is missing.

This commit is contained in:
Jean Niklas L'orange 2014-02-25 21:47:25 +01:00
parent 491c2c9595
commit a28eeca1df

View file

@ -25,6 +25,8 @@
"WARN ignoring checkouts directory" dep "WARN ignoring checkouts directory" dep
"as it does not contain a project.clj file.")))) "as it does not contain a project.clj file."))))
(alter-var-root #'read-dependency-project memoize)
(defn- checkout-dep-paths [project dep-project] (defn- checkout-dep-paths [project dep-project]
;; can't mapcat here since :checkout-deps-shares points to vectors and strings ;; can't mapcat here since :checkout-deps-shares points to vectors and strings
(flatten (map #(% dep-project) (:checkout-deps-shares project)))) (flatten (map #(% dep-project) (:checkout-deps-shares project))))