1.2.0 permalink Arrow_down_16x16

checkout-deps-paths

leiningen.checkout-deps

  • (checkout-deps-paths project)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/checkout_deps.clj:5 top

(defn checkout-deps-paths [project]
  (apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
                  ;; Note that this resets the leiningen.core/project var!
                  (let [proj (binding [*ns* (find-ns 'leiningen.core)]
                               (read-project (.getAbsolutePath
                                              (file dep "project.clj"))))]
                      (for [d [:source-path :compile-path :resources-path]]
                        (proj d))))))
Vars in leiningen.checkout-deps/checkout-deps-paths: apply concat defn for let
Used in 0 other vars

Comments top

No comments for checkout-deps-paths. Log in to add a comment.