Closed rads closed 1 year ago
Right now bbin only looks in deps.edn for dependencies since we're using babashka.deps/add-deps. In some cases, though, we need to add a special spec.alpha dependency for Babashka on top of the deps.edn:
bbin
deps.edn
babashka.deps/add-deps
spec.alpha
:deps {org.babashka/spec.alpha {:git/url "https://github.com/babashka/spec.alpha" :git/sha "8df0712896f596680da7a32ae44bb000b7e45e68"} local/deps {:local/root "."}}
The problem is if we include the org.babashka/spec.alpha in deps.edn, we can no longer use the library as a dependency in Clojure JVM.
org.babashka/spec.alpha
If we look in bb.edn for dependencies, this will only work with Gitlibs. Is there a better way to solve this?
bb.edn
The spec.alpha library is now bundled with Babashka since 1.0.67 so the org.babashka/spec.alpha can be omitted going forward.
1.0.67
Right now
bbin
only looks indeps.edn
for dependencies since we're usingbabashka.deps/add-deps
. In some cases, though, we need to add a specialspec.alpha
dependency for Babashka on top of thedeps.edn
:The problem is if we include the
org.babashka/spec.alpha
indeps.edn
, we can no longer use the library as a dependency in Clojure JVM.If we look in
bb.edn
for dependencies, this will only work with Gitlibs. Is there a better way to solve this?