I hear there's some prior art in the clj-commons ecosystem for adding babashka to a CircleCI build job. Any pointers? 🙏
@dergutemoritz Adding bb to CI: just download the binary. https://github.com/clj-kondo/clj-kondo/blob/a9f51d3edd2baba885855f771c3f32ebda7dfd3f/.circleci/config.yml#L31-L34
Also, CircleCI clojure images nowadays come with bb built-in but it might not be the newest version, so I think it's good to install manually nonetheless. Takes less than a second.
@borkdude Thanks a lot! Gonna use it to switch Aleph over to lein2deps then 🙂
Here we goooo: https://github.com/clj-commons/aleph/pull/635 -- I love deleting a bunch of code in the morning 😎
Nice :)
Maybe it's better if we started exposing lein2deps as a library so you can call it with bb -x or so?
Then we can also put some tests in there
Yeah might be a reasonable promotion at that point
I'll promote it to a library later today or this weekend then
Perhaps we can also use it from #babashka-neil
Haven't given neil a try, yet. I guess I should!
@dergutemoritz could you try migrating to the lib? https://github.com/borkdude/lein2deps
Works great, much nicer 🙌
Already updated the Aleph PR to use it
Minor typo in README btw
PR welcome
:prep/lib should say :deps/prep-lib
where?
https://github.com/borkdude/lein2deps/blob/main/README.md?plain=1#L32
fixed
🙇
Nice, lein2deps is shaping up to be the de-facto solution for this problem 🙂
Thanks for the help :)