Don't bother with dev-deps when installing plugins.

This commit is contained in:
Phil Hagelberg 2011-04-09 17:48:23 -07:00
parent c9b9715265
commit 10afeb1259

View file

@ -40,7 +40,7 @@ Syntax: lein plugin install [GROUP/]ARTIFACT-ID VERSION
_ (extract-jar (file jarfile) temp-project)
project (read-project (str (file temp-project "project.clj")))
standalone-filename (plugin-standalone-filename group name version)]
(deps project)
(deps (dissoc project :dev-dependencies))
(with-open [out (-> (file plugins-path standalone-filename)
(FileOutputStream.)
(ZipOutputStream.))]