Skip to content

Commit

Permalink
add ns-compile support in uberjar
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Nov 7, 2024
1 parent 735e551 commit 8fdb31f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/exoscale/tools/project/api/jar.clj
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
[opts]
(let [{:exoscale.project/keys [_env lib _version _version-file main compile-opts
src-dirs class-dir basis uberjar-file uber-opts deps-file
ns-compile
pom-data]
:as opts} opts
version (v/get-version opts)
Expand All @@ -76,6 +77,8 @@
(b/compile-clj (cond-> {:basis basis
:class-dir class-dir
:src-dirs src-dirs}
(some? ns-compile)
(assoc :ns-compile ns-compile)
(some? compile-opts)
(assoc :compile-opts compile-opts)))
(println "Creating uberjar: " uber-file)
Expand Down

0 comments on commit 8fdb31f

Please # to comment.