Fork me on GitHub
#practicalli
<
2022-03-10
>
Lukas Domagala14:03:49

Hey @jr0cket I just looked over your plans for the Clojure book and I’m a big fan! The thing I’m missing is maybe a short introduction to using bb as the build scripting environment. Do you have any plans for that?

practicalli-johnny15:03:46

Thank you for the feedback I havent included Babashka in the original plans, but I could be easily persuaded. Are there specific scenarios that you would like to see? There seems to be some aspects covered in https://book.babashka.org/#project-setup For most of my projects, packaging and deployment is relatively simple, although I would like to include more involved deployment. The tools.build approach looks interesting and although it's still relatively new it seems likely to be the defacto approach for Clojure CLI. So if Babashka can complement that approach, that would be easier to include in the plans. I would also like to script tasks like schema changes & data loads as separate processes to application deployment, which may be appropriate to script. Feel free to share any ideas you have around Babashka Thanks.

Lukas Domagala16:03:13

I think a good start would be a template for how to use tools.build from inside babashka and setting up a few basic tasks. Anything more complicated can be linked into the actual doc. I’m thinking of something like https://github.com/borkdude/antq/blob/bb-run/bb.edn as decent-sized example usage.

👍 2