Fork me on GitHub
#babashka
<
2020-12-26
>
slipset10:12:26

https://github.com/clj-commons/infra/blob/main/.gitattributes may or may not be well known, but this makes *.bb files be recognised as Clojure by github.

slipset10:12:05

So no more BlitzBasic for me.

borkdude10:12:41

But usually I use .clj for bb scripts

borkdude10:12:49

because that's what it is

slipset10:12:09

Do you consider a bb file with a shebang to also be a clojure file? Asking because I’m somewhat unsure myself.

borkdude10:12:54

I do. You can also invoke it with clojure the_file.clj if you set up the deps correctly

slipset10:12:32

Right, because #! is a reader-macro comment-line

borkdude10:12:10

But .bb is also fine, it's just more work getting the tooling to recognize it

slipset10:12:35

For now I think I somewhat like the distinction.

borkdude10:12:53

Maybe the tooling can account for .bb eventually