Skip to content

Instantly share code, notes, and snippets.

@retrogradeorbit
Last active October 11, 2022 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retrogradeorbit/08d0625e3be6f2efa20ce155314900d1 to your computer and use it in GitHub Desktop.
Save retrogradeorbit/08d0625e3be6f2efa20ce155314900d1 to your computer and use it in GitHub Desktop.
add deps dynamically in a babashka script
;; https://clojurians.slack.com/archives/CLX41ASCS/p1665055449480629?thread_ts=1664969568.562399&cid=CLX41ASCS
(require '[babashka.deps :as deps])
(deps/add-deps '{:deps {com.cognitect.aws/endpoints {:mvn/version "1.1.12.206"}
com.cognitect.aws/s3 {:mvn/version "822.2.1109.0"}
com.grzm/awyeah-api {:git/url "https://github.com/grzm/awyeah-api"
:git/sha "0fa7dd51f801dba615e317651efda8c597465af6"}}})
(require '[com.grzm.awyeah.client.api :as aws])
;; etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment