Permalink
Browse files

Don't clear out lib/dev when jarring. Fixes #221.

  • Loading branch information...
technomancy committed Jul 3, 2011
1 parent f2b4a71 commit cc609ef6c9b6e735b61d9d199d39bce3feabe50a
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/leiningen/jar.clj
  2. +1 −1 todo.org
View
@@ -199,8 +199,7 @@ function in that namespace will be used as the main-class for executable jar."
deps (memoize deps)]
(when (zero? (compile/compile project))
(let [jar-path (get-jar-filename project jar-name)
- deps-fileset (deps (dissoc project :dev-dependencies
- :native-dependencies))]
+ deps-fileset (deps project)]
(write-jar project jar-path (filespecs project deps-fileset))
(println "Created" jar-path)
jar-path))))
View
@@ -31,8 +31,8 @@ See also https://github.com/technomancy/leiningen/issues
- [X] upgrade hooke
- [X] make it easier to use :repl-options [:print clojure.pprint/pprint]
- [X] fix shutdown-agents with repl
+ - [X] don't clear out lib/dev upon jarring (221)
- [ ] investigate lein-multi failure
- - [ ] don't clear out lib/dev upon jarring (221)
* For 1.6
- [X] Trampoline functionality
- [X] move exit-after-tests check to eval-in-project (discuss on list?)

0 comments on commit cc609ef

Please sign in to comment.