Fork me on GitHub
#babashka
<
2020-02-28
>
borkdude10:02:53

got a build working for JDK11 + hato on CI using Github actions. It does take 8 minutes to compile and the final binary is 53MB (17MB zipped)

borkdude11:02:07

meanwhile CircleCI is broken for babashka, I get a 500 while browsing to the UI for this project, so I can't do any new releases until that is fixed 😕

borkdude11:02:13

unless I port everything to Github actions, which is maybe a good backup plan anyway

rahul08032711:02:12

@borkdude sounds like we should pair on this while we both are in Berlin 😉

borkdude11:02:55

I'm in Berlin

rahul08032711:02:39

yes, we can sit together on this 😄 maybe faster feedbacks

borkdude11:02:38

I'm meeting again with my colleagues this afternoon, but maybe we could meet in a bar an hour or so before the pre-party

rahul08032711:02:19

hit me up with the address, will be there today 😄

borkdude11:02:37

ok, let's text around 4PM and then find a place near the Unter den Linden?

rahul08032711:02:55

sounds like a plan

nate21:02:40

how would I execute a long running command that needs the terminal from bb?

nate21:02:46

context is:

nate21:02:26

I want to dynamically run my clojure repl with an -Sdeps line that is appropriate for the project I'm in

nate21:02:41

I have a bb script that generates the -Sdeps ... part

nate21:02:25

but in my code if I run (shell/sh "clojure" "-A:repl" ,,,) I get an error about being unable to create a system terminal

nate21:02:03

for now, I use bb to generate the right deps fragment and then return it to bash so bash can call clojure with that as an arg

nate21:02:06

works very well

nate21:02:27

but was wondering if there was a way bb could be the whole burrito

borkdude21:02:40

@nate deps.clj is maybe an example? it can fire up a normal JVM repl from within a bb script

borkdude21:02:47

it uses ProcessBuilder to achieve this

nate21:02:30

awesome, I'll check it out. thanks!