Fork me on GitHub
#babashka
<
2021-12-19
>
Steffen Glückselig09:12:29

I'd like to package my bb-scripts in a jar in such a way that the colleague does not need bb - just java. I can sneak in large jars, but bb.exe not so much. 😉 E.g. I could imagine wrapping my bb-scripts in a maven-project...

borkdude09:12:07

You could just make an uberjar with clojure and give that to your colleague.

borkdude10:12:40

Let me know if you need help with this

borkdude10:12:53

Btw, did you receive the stickers already?

Steffen Glückselig15:12:48

you mean with clojure-CLI? Or - Could I take babashka's project.clj, minimize it and call lein uberjar ? I don't know how deps.edn and project.clj play together here...

borkdude15:12:33

I think it should work also with lein yeah

borkdude15:12:47

you can use bb print-deps to print out all dependencies that bb uses internally

borkdude15:12:02

this prints out a deps.edn file

borkdude15:12:17

you can then morph that into a project clj

borkdude15:12:43

or if you want to learn something new, you can install neil: https://github.com/babashka/neil and then run neil add build

borkdude15:12:53

and then clojure -T:build uber builds the uberjar

Steffen Glückselig15:12:53

Wow - great - I wil try neil. Thanks!

Steffen Glückselig15:12:56

I've got a notice for postal remargin(?) - I think that could be the stickers... 😉

borkdude15:12:33

what does this mean, postal remargin?

borkdude15:12:30

I paid twice for a stamp. The first time the stamp (digital code that you have to write on the envelope) got lost in the transaction

borkdude15:12:33

The second time it worked

borkdude15:12:55

But if this means you still have to pay, then this means we have paid three times for this, damnit

Steffen Glückselig15:12:57

"Extra porto betalen" ? 😉

Steffen Glückselig15:12:19

Sorry for the inconvenience - I will look what my postman has to say.

borkdude15:12:43

It's probably the PostNL screwing up

😒 1
borkdude15:12:14

If there's anything wrong, I'll send the stickers again but with a proper physical stamp, you still paid enough budget for this ;)

borkdude15:12:29

Just let me know

👍 1