Fork me on GitHub
#nbb
<
2022-07-22
>
zharinov13:07:41

Q: How good my chances are to run rewrite-clj with nbb?

borkdude13:07:21

@s_zharinov #babashka has rewrite-clj - perhaps that's a solution for you?

zharinov13:07:49

I wonder if I can change planck-based test runner to nbb

borkdude13:07:17

Why do yo need rewrite-clj for this?

zharinov13:07:59

My project of interest is zprint and I'm looking at different ways of improving its CI pipeline. Of course, current CLJS testing performance isn't that critical, so I'm just asking if it possible at all. My primary goal though is to have it compiled for M1 processors, just like Babashka.

borkdude13:07:54

zprint uses self-hosted CLJS for testing right?

borkdude13:07:28

you can speed up CI already by moving this to a Node.js test runner. https://github.com/Olical/cljs-test-runner

zharinov13:07:34

I believe it's the current approach. The tests are running quite fast, but the bootstrapping phase made me wonder if there is a way to run these instantly. Sorry if I'm asking something obvious, I actually don't know CLJS ecosystem too much.

borkdude13:07:07

the bootstrapping phase takes longer with self-hosted CLJS

borkdude13:07:32

so swapping it with Node.js testing will already make it faster (but not instant)

zharinov13:07:45

Thanks, I'll take a closer look