babashka-sci-dev

teodorlu 2024-06-18T09:09:32.198589Z

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

โœ… 1
borkdude 2024-06-18T09:09:55.741809Z

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

borkdude 2024-06-18T09:10:15.143119Z

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

๐Ÿ‘ 1
borkdude 2024-06-18T09:10:43.654559Z

such that this is available: https://github.com/babashka/babashka/blob/master/src/babashka/deps.clj

๐Ÿ‘ 1
teodorlu 2024-06-18T09:11:40.860429Z

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

teodorlu 2024-06-18T09:42:29.287169Z

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 ?

borkdude 2024-06-18T09:43:58.564049Z

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

๐Ÿ‘ 1
rads 2024-06-18T14:24:23.628489Z

Yes, thatโ€™s correct

๐Ÿ‘ 1
teodorlu 2024-06-18T14:27:02.553819Z

Thanks! ๐Ÿ™

rads 2024-06-18T14:27:55.496749Z

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