Disable :prep-tasks in out-of-project runs.

This commit is contained in:
Phil Hagelberg 2013-03-16 16:23:14 -07:00
parent ed9004ada4
commit 43a9994171

View file

@ -281,7 +281,7 @@ Get the latest version of Leiningen at http://leiningen.org or by executing
(if (.exists (io/file "project.clj"))
(project/read)
(assoc (project/make (:user (user/profiles)))
:eval-in :leiningen)))
:eval-in :leiningen :prep-tasks [])))
[task-name args] (task-args raw-args project)]
(when (:min-lein-version project) (verify-min-version project))
(configure-http)