Fork me on GitHub
#clojure-europe
<
2024-03-21
>
ray08:03:27

good morning

馃檪 1
schmalz08:03:52

Morning all.

teodorlu08:03:52

Good morning!

teodorlu08:03:10

I translated a Bash script to Babashka line by line this morning. I just used babashka.process/shell for every command. Really neat. Just being able to avoid bash-style variables (`sha=$(git rev-parse --short HEAD)`) and have a normal let, kind of made it worth it. Previously, I鈥檝e made my babashka scripts big, making a directory with deps.edn and such. This time I made one .bb file, and I kind of liked it more. Just a file, nothing more.

鉂わ笍 5
babashka 2
馃憤 1
thomas08:03:17

Good Morning

imre10:03:37

good morning

pez11:03:11

@teodorlu A while ago when I was transcribing bash -> Babashka, I got some awesome help from @borkdude finding more idiomatic and effective Babashka ways. You are probably past that stage, but anyway, I wrote a little thing about it: https://blog.agical.se/en/posts/changing-my-mind--converting-a-script-from-bash-to-babashka/

馃挴 2
babashka 2
Ben Sless15:03:07

It was nice having a couple of weeks without anyone being sick in the household 馃槄

馃帀 2
imre20:03:12

my commiserations

馃檭 1