parent
47c04773f4
commit
53d1828076
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ function in that namespace will be used as the main-class for executable jar.
|
||||||
With an argument, the jar will be built with an alternate main."
|
With an argument, the jar will be built with an alternate main."
|
||||||
([project main]
|
([project main]
|
||||||
(let [project (preprocess-project project main)]
|
(let [project (preprocess-project project main)]
|
||||||
(eval/prep (project/merge-profiles project [:provided]))
|
(eval/prep (add-main (project/merge-profiles project [:provided]) main))
|
||||||
(let [jar-file (get-jar-filename* project nil)]
|
(let [jar-file (get-jar-filename* project nil)]
|
||||||
(write-jar project jar-file (filespecs project))
|
(write-jar project jar-file (filespecs project))
|
||||||
(main/info "Created" (str jar-file))
|
(main/info "Created" (str jar-file))
|
||||||
|
|
Loading…
Reference in a new issue