Add deprecation warning for second arg to deps.

This commit is contained in:
Phil Hagelberg 2011-07-03 21:04:02 -07:00
parent cc609ef6c9
commit 81ba0dd025

View file

@ -184,7 +184,9 @@
(defn deps
"Download :dependencies and put them in :library-path."
[project]
[project & _]
(when (seq _)
(println "WARNING: passing an argument to deps is deprecated."))
(when (fetch-deps? project)
(when-not (or (:disable-deps-clean project)
(:disable-implicit-clean project))