Skip to content

Commit

Permalink
Don't clear out lib/dev when jarring. Fixes #221.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jul 3, 2011
1 parent f2b4a71 commit cc609ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/leiningen/jar.clj
Expand Up @@ -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))))
Expand Down
2 changes: 1 addition & 1 deletion todo.org
Expand Up @@ -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?)
Expand Down

0 comments on commit cc609ef

Please sign in to comment.