Skip to content

Commit

Permalink
fixed generate pom
Browse files Browse the repository at this point in the history
  • Loading branch information
behrica committed Feb 21, 2025
1 parent 793e013 commit c3d477e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cli: 1.12.0.1495

- name: ci
run: clojure -T:build ci
run: clojure -T:build generate-pom

- uses: jlesquembre/[email protected]
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ example/results.nippy
/.clj-kondo/
/.lsp/
/.clerk/
pom.properties
pom.xml
13 changes: 13 additions & 0 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,16 @@
(assoc :lib lib :version version)
(bb/deploy)))


(defn generate-pom[_]

(b/write-pom {:target "."
:lib lib
:version version
:basis basis
:src-pom "template/pom.xml"
:scm {:connection "scm:git:https://github.com/scicloj/scicloj.ml.smile.git"
:url "https://github.com/scicloj/scicloj.ml.smile"}
:src-dirs ["src"]})

)

0 comments on commit c3d477e

Please sign in to comment.