find-lib-jars

leiningen.classpath

  • (find-lib-jars project)
Returns a seq of Files for all the jars in the project's library directory.

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/classpath.clj:7 top

(defn find-lib-jars
  "Returns a seq of Files for all the jars in the project's library directory."
  [project]
  (filter #(.endsWith (.getName %) ".jar")
          (concat (.listFiles (file (:library-path project)))
                  ;; This must be hard-coded because it's used in
                  ;; bin/lein and thus can't be changed in project.clj.
                  (.listFiles (file (:root project) "lib/dev")))))
Vars in leiningen.classpath/find-lib-jars: concat defn filter
Used in 0 other vars

Comments top

No comments for find-lib-jars. Log in to add a comment.