Skip to content

Commit

Permalink
trying to get the build right
Browse files Browse the repository at this point in the history
  • Loading branch information
jsn committed Jan 24, 2024
1 parent a50aadc commit 0fd9d51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,25 @@
(b/delete {:path "target"}))

(defn jar [_]
(println "\nWriting pom...")
(println (format "\nWriting pom for v%s ..." version))
(b/write-pom {:class-dir class-dir
:src-pom "template/pom.xml"
:scm {:tag (str "v" version)}
:lib lib
:version version
:basis @basis
:src-dirs ["src"]})
(println "\nCopyin to target...")
(println "\nCopying to target...")
(b/copy-dir {:src-dirs ["src" "resources"]
:target-dir class-dir})
(println "\nBuilding jar...")
(b/jar {:class-dir class-dir
:jar-file jar-file}))

(defn ci [opts]
(clean opts)
(jar opts))

(defn deploy [_]
(println "\nDeploying to clojars...")
(deploy/deploy
Expand Down

0 comments on commit 0fd9d51

Please sign in to comment.