babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
borkdude 2021-04-16T10:01:14.216500Z

I'm reconsidering the #{p1 p2} again. I wanted to also introduce (p1 p2) to force sequential execution (for things like clean), but I think this is getting too ambiguous when you have various nested dependencies. So I may drop #{p1 p2} altogether again. https://github.com/babashka/babashka/issues/792 cc @maxp @grazfather

borkdude 2021-04-16T10:05:54.217100Z

Consider it deprecated today, I removed it from the docs.

borkdude 2021-04-16T10:06:54.217600Z

So like @grazfather suggested: all tasks should be able to run in parallel and running in parallel is a top-level invocation option

borkdude 2021-04-16T10:10:53.218Z

so if you want explicit clean before anything else, use this: https://gist.github.com/borkdude/35bc0a20bd4c112dec2c5645f67250e3#file-bb-edn-L24

borkdude 2021-04-16T10:20:40.218200Z

Added another example from work: https://gist.github.com/borkdude/35bc0a20bd4c112dec2c5645f67250e3

Teemu Kaukoranta 2021-04-16T12:07:02.223200Z

Hi! Any chance we could get java.security.SecureRandom added to babashka?

littleli 2021-04-16T12:07:24.223300Z

it's newly available in the latest release

littleli 2021-04-16T12:08:00.223500Z

https://clojurians.slack.com/archives/CLX41ASCS/p1618484480204200

๐Ÿš€ 1
Teemu Kaukoranta 2021-04-16T12:08:59.223800Z

haha

Teemu Kaukoranta 2021-04-16T12:09:01.224Z

awesome

grazfather 2021-04-16T14:01:44.224300Z

told you so ๐Ÿ˜‰

borkdude 2021-04-16T14:02:02.224500Z

:-D

grazfather 2021-04-16T14:02:12.224700Z

naw, just kidding about gloating, but this is the way that makes more sense to me

borkdude 2021-04-16T14:08:23.224900Z

I also educated one of my colleagues to not use

release: clean test
    dothejob

borkdude 2021-04-16T14:08:28.225100Z

to not depend on clean this way

grazfather 2021-04-16T14:15:48.225400Z

yep thatโ€™s a good way to slow your builds down ๐Ÿ™‚

grazfather 2021-04-16T14:16:15.225600Z

Make is very naive in that it only has phony targets and timestamps to use, thatโ€™s why I am excited about babashka