Skip to content
This repository
Browse code

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

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

0 notes on commit cc609ef

Please sign in to comment.
Something went wrong with that request. Please try again.