Don't bother with dev-deps when installing plugins.
This commit is contained in:
parent
c9b9715265
commit
10afeb1259
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ Syntax: lein plugin install [GROUP/]ARTIFACT-ID VERSION
|
||||||
_ (extract-jar (file jarfile) temp-project)
|
_ (extract-jar (file jarfile) temp-project)
|
||||||
project (read-project (str (file temp-project "project.clj")))
|
project (read-project (str (file temp-project "project.clj")))
|
||||||
standalone-filename (plugin-standalone-filename group name version)]
|
standalone-filename (plugin-standalone-filename group name version)]
|
||||||
(deps project)
|
(deps (dissoc project :dev-dependencies))
|
||||||
(with-open [out (-> (file plugins-path standalone-filename)
|
(with-open [out (-> (file plugins-path standalone-filename)
|
||||||
(FileOutputStream.)
|
(FileOutputStream.)
|
||||||
(ZipOutputStream.))]
|
(ZipOutputStream.))]
|
||||||
|
|
Loading…
Reference in a new issue