Perhaps native binary is not what I need. I have something like 10 command line programs that I would like to deliver to my colleges who are on linux/osx/windows. For OSX and Linux, I can just deliver #!/usr/bin/env bb - assuming my windows devs are not using wsl, is there something similar for windows? or would they need to invoke
c:\> bb c:\scripts\<http://stats.bb|stats.bb> arg1
vs
$ stats arg1 # on Linux or OSX
The babashka book has a recipe for a .bat shebang. I can find the link for you when Iām back at a computer
You will need to create separate .bat scripts for those, but you can of course script that
An alternative, if the scripts are part of a project, is to use the new task runner
Hey! Before I go raising issues and trying to maybe fix things, has anyone noticed errors being truncated when talking with bb over nREPL? I only seem to get the first line of output out, the details including the exchanged nREPL messages are in my issue here https://github.com/Olical/conjure/issues/206 It looks like the error is caught and sent back out of the nREPL, but only the first line of it's message :thinking_face:
I'm hunting around for any existing open issue about this topic but I can't find anything.
I guess the :cause
here is nil, hmm https://github.com/babashka/babashka.nrepl/blob/d9b63bbadce04799ef791c02a7066dd3197aa1b9/src/babashka/nrepl/impl/utils.clj#L26
Also I added support for auto repling into babashka when no other nREPL server is detected today! https://asciinema.org/a/415758 (on the develop
branch for now while I dogfood + await feedback)
@olical Could be a bug, I'm not sure. Feel free to raise an issue + PR against babashka.nrepl
The test suite of that project is pretty good