Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bb: use bundled clojure.spec and simplify deps in readme #6

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Cognitect-distributed library.

## Requirements

Requires babashka 0.7.0 or later (clojure.spec.alpha support).
Requires babashka 1.0.167 or later (bundled clojure.spec.alpha).

## deps
``` clojure
Expand All @@ -41,7 +41,6 @@ Up to date with `com.cognitect.aws/api {:mvn/version "0.8.596"}` (tagged 2022-09

Add to your `deps.edn` for Clojure or `bb.edn` for babashka:

### `deps.edn`
```clojure
{:deps {com.cognitect.aws/endpoints {:mvn/version "1.1.12.307"}
com.cognitect.aws/s3 {:mvn/version "822.2.1145.0"}
Expand All @@ -50,17 +49,7 @@ Add to your `deps.edn` for Clojure or `bb.edn` for babashka:
:git/tag "v0.8.35"}}}
```

### `bb.edn`
Include [`org.babashka/spec.alpha`](https://github.com/babashka/spec.alpha)
``` clojure
{:deps {com.cognitect.aws/endpoints {:mvn/version "1.1.12.307"}
com.cognitect.aws/s3 {:mvn/version "822.2.1145.0"}
com.grzm/awyeah-api {:git/url "https://github.com/grzm/awyeah-api"
:git/sha "1810bf624da2be58c77813106a1d51e32db11690"
:git/tag "v0.8.35"}
org.babashka/spec.alpha {:git/url "https://github.com/babashka/spec.alpha"
:git/sha "8df0712896f596680da7a32ae44bb000b7e45e68"}}}
```
Then:

```clojure
(require '[com.grzm.awyeah.client.api :as aws])
Expand Down