This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-28
Channels
- # announcements (2)
- # aws (21)
- # babashka (4)
- # babashka-sci-dev (17)
- # beginners (3)
- # cider (16)
- # clj-kondo (61)
- # clojure (122)
- # clojure-europe (11)
- # clojure-spec (3)
- # clojurescript (2)
- # conjure (19)
- # helix (9)
- # hyperfiddle (2)
- # inf-clojure (18)
- # lsp (12)
- # off-topic (15)
- # react (2)
- # releases (1)
- # shadow-cljs (40)
- # spacemacs (4)
- # tools-deps (5)
- # vim (15)
@borkdude first cut from @brzoskwinka18 https://github.com/babashka/babashka/pull/1282 😄
@brzoskwinka18 That's awesome! Welcome!
thank you!
So, as discussed earlier, perhaps we could install the bb to a different directory and rename it, and then call it, as too not confuse that bb with the bb we're building
You can do this with:
--dir /tmp/foobar
or so.
And then mv /tmp/foobar/bb /tmp/foobar/bbb
I thought about it, but if it's a separate job, it's going to be isolated anyway. But if you would rather it be done this way, I can change it 🙂
Still, I think it's a good idea to do this, I will shoot myself in the foot one way or another - I know myself too well ;)
E.g. some people will copy what you did here to another job, and I won't think about it anymore
@brzoskwinka18 I'm really happy with the PR. In case you want some minor feedback (I'm already happy to merge this):
For commands where you need the :out :string
you could also use:
https://github.com/babashka/process/blob/master/API.md#sh
That also blocks. But doesn't throw, so you still need to call check
. There is also babashka.tasks/shell: (shell {:out :string} "git ...")
which blocks and checks
Again, I'm happy to just go ahead and merge this, it looks awesome. I'm happy @rahul080327 poked you about this :-)