correct medley deps in README (#335)
This commit is contained in:
parent
fab7fedfea
commit
e89782686e
1 changed files with 2 additions and 2 deletions
|
|
@ -850,13 +850,13 @@ Ran 1 tests containing 0 assertions.
|
||||||
Requires `bb` >= v0.0.71. Latest coordinates checked with with bb:
|
Requires `bb` >= v0.0.71. Latest coordinates checked with with bb:
|
||||||
|
|
||||||
``` clojure
|
``` clojure
|
||||||
{:git/url "https://github.com/weavejester" :sha "a4e5fb5383f5c0d83cb2d005181a35b76d8a136d"}
|
{:git/url "https://github.com/weavejester/medley" :sha "a4e5fb5383f5c0d83cb2d005181a35b76d8a136d"}
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
$ export BABASHKA_CLASSPATH=$(clojure -Spath -Sdeps '{:deps {medley {:git/url "https://github.com/weavejester" :sha "a4e5fb5383f5c0d83cb2d005181a35b76d8a136d"}}}')
|
$ export BABASHKA_CLASSPATH=$(clojure -Spath -Sdeps '{:deps {medley {:git/url "https://github.com/weavejester/medley" :sha "a4e5fb5383f5c0d83cb2d005181a35b76d8a136d"}}}')
|
||||||
|
|
||||||
$ bb -e "(require '[medley.core :as m]) (m/index-by :id [{:id 1} {:id 2}])"
|
$ bb -e "(require '[medley.core :as m]) (m/index-by :id [{:id 1} {:id 2}])"
|
||||||
{1 {:id 1}, 2 {:id 2}}
|
{1 {:id 1}, 2 {:id 2}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue