Add leiningen.pom/default-repo for backwards-compatibility.

This commit is contained in:
Phil Hagelberg 2011-03-21 20:37:41 -07:00
parent dfc672a1fb
commit 0ab3468022

View file

@ -17,6 +17,9 @@
(defn snapshot? [project]
(re-find #"SNAPSHOT" (:version project)))
(def ^{:doc "For backwards-compatibility"} default-repos
leiningen.core/default-repos)
(defn check-for-snapshot-deps [project]
(when (and (not (snapshot? project))
(not (System/getenv "LEIN_SNAPSHOTS_IN_RELEASE"))