Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
somecho committed Jul 2, 2023
1 parent 73c196d commit 6045265
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
(def version "0.0.8")
(def jar-file (format "target/%s-%s.jar" (name lib) version))
(def class-dir "target/classes")
(def url "https://github.com/somecho/depo.git")
(def connection (str "scm:git:" url))

(defn clean [_]
(b/delete {:path "target"}))
Expand All @@ -15,6 +17,9 @@
:lib lib
:version version
:basis (b/create-basis {:project "deps.edn"})
:scm {:connection connection
:developerConnection connection
:url url}
:src-dirs ["src"]})
(b/copy-dir {:src-dirs ["src" "resources"]
:target-dir class-dir})
Expand Down

0 comments on commit 6045265

Please sign in to comment.