This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-31
Channels
- # aleph (24)
- # announcements (2)
- # aws (1)
- # babashka (2)
- # beginners (46)
- # calva (15)
- # chlorine-clover (1)
- # clojure-europe (27)
- # clojure-nl (3)
- # clojure-norway (13)
- # clojure-uk (7)
- # clojurescript (16)
- # datomic (29)
- # emacs (4)
- # fulcro (16)
- # hugsql (6)
- # hyperfiddle (65)
- # lsp (9)
- # malli (3)
- # off-topic (29)
- # pedestal (1)
- # releases (1)
- # shadow-cljs (52)
- # specter (5)
- # xtdb (1)
Another approach for ensuring that a Babashka script has all dependencies it needs (I am using the clansi library as an example):
Add the following at script's beginning after the shbang and the ns
declaration:
;; Resources:
;; for add-deps:
;; for clansi/clansi:
(deps/add-deps '{:deps {clansi/clansi {:mvn/version "1.0.0"}}})
(require '[clansi :as clansi])
Given this, is there any reason to prefer using bb.edn
to declare dependencies?🤯 2