Add leiningen.pom/default-repo for backwards-compatibility.
This commit is contained in:
parent
dfc672a1fb
commit
0ab3468022
1 changed files with 3 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue