Skip to content

Commit

Permalink
Pass scm information to POM during build
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-sm committed Jun 16, 2023
1 parent 8985c46 commit b7687cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cljest/dev/cljest/build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
(defn main
"Builds the JAR and POM files for the current version of `cljest`, as defined in `build.edn`."
[& _]
(let [{:keys [version optional-deps lib extra-paths ignore src-dirs]} (get-build-config)
(let [{:keys [version optional-deps lib extra-paths ignore src-dirs scm]} (get-build-config)
basis (tools.build.api/create-basis {:project "deps.edn"
;; `optional-deps` are still added to the POM, so that tools such as
;; `cljdoc-analyzer` can work correctly, but are marked as "provided",
Expand Down Expand Up @@ -106,5 +106,6 @@
:lib lib
:version version
:basis basis
:scm scm
:src-dirs ["src"]})))

0 comments on commit b7687cd

Please sign in to comment.