This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-04
Channels
- # announcements (5)
- # aws (11)
- # babashka (15)
- # beginners (101)
- # biff (14)
- # calva (45)
- # clj-kondo (18)
- # cljs-dev (5)
- # clojure (178)
- # clojure-austin (5)
- # clojure-europe (8)
- # clojure-france (1)
- # clojure-nl (12)
- # clojure-norway (6)
- # clojure-spec (4)
- # clojure-uk (1)
- # clojurescript (13)
- # community-development (2)
- # conjure (6)
- # cursive (8)
- # datahike (1)
- # datalevin (3)
- # datascript (36)
- # datomic (6)
- # emacs (2)
- # etaoin (2)
- # fulcro (5)
- # graalvm (6)
- # gratitude (3)
- # introduce-yourself (1)
- # jobs-discuss (1)
- # lsp (19)
- # malli (4)
- # nbb (11)
- # off-topic (4)
- # other-languages (1)
- # pathom (19)
- # pedestal (1)
- # shadow-cljs (22)
- # spacemacs (16)
- # tools-deps (31)
- # vim (7)
Is it possible to use https://github.com/borkdude/deps.clj. inside a clj app (instead of bb) ?
The good thing with bb.process is the API is the same across bb and clj. For deps, so I have to differentiate the two.
One way I'm going to deal with this:
(ns babashka.neil.test
(:require #?(:bb [babashka.deps :as deps])
[babashka.process :refer [shell]]))
(defn clojure [& args]
#?(:bb (apply deps/clojure args)
:clj (apply shell "bb clojure" args)))
Improved version:
(ns babashka.neil.test
(:require #?(:bb [babashka.tasks :as t])
[babashka.process :refer [shell]]
[clojure.edn :as edn]))
(defn clojure [& args]
#?(:bb (apply t/clojure {} args)
:clj (apply shell {} "bb clojure" args)))
@borkdude - I think your blog is down, I was trying to access this post https://blog.michielborkent.nl/aws-lambda-nbb.html
weird it works now for me too
thanks