babashka-sci-dev 2024-06-18

Am I correct in assuming babashka.deps only works in babashka, and not in JVM Clojure?

โœ… 1

correct. I guess you're trying to run bbin using JVM Clojure?

I think this is possible when adding babashka as a JVM dependency to the classpath, if I'm not mistaking

๐Ÿ‘ 1

correct. I guess youโ€™re trying to run bbin using JVM Clojure?
Correct.

For bbin, am I correct in assuming that โ€ข When the user installs a script with bbin install, bbin uses babashka.deps/add-deps to download any script deps, โ€ข Script deps are also ensured installed when the user runs the installed script, because bbin ensures script dependencies are available through a temporary deps.edn file ?

Perhaps @rads can chime in here. I haven't looked that closely at bbin's source

๐Ÿ‘ 1

Yes, thatโ€™s correct

๐Ÿ‘ 1

Thanks! ๐Ÿ™

Sure thing. Let me know if you have any more questions. I might not be able to respond right away but Iโ€™ll try to get to them as soon as I can

โค๏ธ 2