Skip to content

Commit

Permalink
Use :without-profiles version of project map in jar task.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 8, 2012
1 parent 07c699c commit 78560e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/leiningen/jar.clj
Expand Up @@ -179,6 +179,7 @@ as .class files if applicable. If project.clj contains a :main key, the -main
function in that namespace will be used as the main-class for executable jar."
[project]
(let [classpath [] ;; (classpath/resolve-dependencies project)
project (:without-profiles (meta project))
status (compile/compile project)]
(if (zero? status)
(let [jar-file (get-jar-filename project)]
Expand Down

0 comments on commit 78560e8

Please sign in to comment.