Skip to content

Commit

Permalink
Another fix to the build alias, use most recent version of build-clj
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranshila committed Jan 11, 2022
1 parent f3eafdb commit 673a2e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions build/build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
[org.corfield.build :as bb]
[clojure.string :as str]))

(def scm-url "git@github.com:kiranshila/cybermonday.git")

(def lib 'com.kiranshila/cybermonday)
(def version (format "0.3.%s" (b/git-count-revs nil)))
(def version (format "0.4.%s" (b/git-count-revs nil)))

(defn sha
[{:keys [dir path] :or {dir "."} :as params}]
[{:keys [dir path] :or {dir "."}}]
(-> {:command-args (cond-> ["git" "rev-parse" "HEAD"]
path (conj "--" path))
:dir (.getPath (b/resolve-path dir))
Expand All @@ -22,8 +24,10 @@
(-> opts
(assoc :lib lib
:version version
:tag (sha nil)
:scm-url "https://github.com/kiranshila/cybermonday")
:scm {:tag (sha nil)
:connection (str "scm:git:" scm-url)
:developerConnection (str "scm:git:" scm-url)
:url scm-url})
(bb/clean)
(bb/jar)))

Expand Down
8 changes: 4 additions & 4 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:extra-deps {lambdaisland/kaocha {:mvn/version "1.0.887"}
lambdaisland/kaocha-junit-xml {:mvn/version "0.0.76"}
lambdaisland/kaocha-cloverage {:mvn/version "1.0.75"}}
:main-opts ["-m" "kaocha.runner"]}}
:build {:extra-paths ["build"]
:deps {io.github.seancorfield/build-clj {:git/url "https://github.com/kiranshila/build-clj" :git/sha "a4e03bc9e4ed78087120c4e7b10152cff1a4837b"}}
:ns-default build}}
:main-opts ["-m" "kaocha.runner"]}
:build {:extra-paths ["build"]
:deps {io.github.seancorfield/build-clj {:git/tag "v0.6.7" :git/sha "22c2d09"}}
:ns-default build}}}

0 comments on commit 673a2e6

Please sign in to comment.