Skip to content

Commit

Permalink
doc-updates
Browse files Browse the repository at this point in the history
- Updated readme to reflect shortened git hash.
- Updated build.clj to reflect correct license version.
  • Loading branch information
wdhowe committed Feb 3, 2024
1 parent 69ffd6d commit e03d5a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Clojure CLI/deps.edn

```clojure
clj-contrib/clj-contrib {:git/url "https://github.com/wdhowe/clj-contrib.git"
:sha "cdf1515c2fb31794ac5c4ee565de397d0f94f286"}
:git/sha "cdf1515"}
```

### Include the Library
Expand Down
14 changes: 7 additions & 7 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
(defn test
"Run all the tests."
[opts]
(let [basis (b/create-basis {:aliases [:test]})
cmds (b/java-command
{:basis basis
:main 'clojure.main
:main-args ["-m" "cognitect.test-runner"]})
(let [basis (b/create-basis {:aliases [:test]})
cmds (b/java-command
{:basis basis
:main 'clojure.main
:main-args ["-m" "cognitect.test-runner"]})
{:keys [exit]} (b/process cmds)]
(when-not (zero? exit) (throw (ex-info "Tests failed" {}))))
opts)
Expand All @@ -41,7 +41,7 @@
[:licenses
[:license
[:name "Eclipse Public License"]
[:url "http://www.eclipse.org/legal/epl-v10.html"]]]
[:url "http://www.eclipse.org/legal/epl-v20.html"]]]
[:developers
[:developer
[:name "Bill Howe"]]]
Expand All @@ -64,7 +64,7 @@
:pom-data (pom-template version))))

(defn ci
"Run the CI pipeline of tests (and build the JAR)."
"Run the CI pipeline of: tests, write pom, and build the JAR."
[opts]
(test opts)
(b/delete {:path "target"})
Expand Down

0 comments on commit e03d5a3

Please sign in to comment.