This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-17
Channels
- # announcements (2)
- # asami (3)
- # babashka (30)
- # beginners (23)
- # calva (28)
- # cider (3)
- # clj-kondo (16)
- # clj-on-windows (7)
- # cljs-dev (7)
- # clojure (47)
- # clojure-austin (3)
- # clojure-europe (25)
- # clojure-gamedev (3)
- # clojure-greece (1)
- # clojure-nl (1)
- # clojure-uk (3)
- # clojurescript (54)
- # community-development (24)
- # conjure (16)
- # duct (1)
- # emacs (8)
- # events (1)
- # figwheel-main (4)
- # fulcro (13)
- # gratitude (20)
- # helix (3)
- # honeysql (8)
- # hyperfiddle (12)
- # introduce-yourself (1)
- # jobs (6)
- # lambdaisland (1)
- # lsp (23)
- # malli (1)
- # meander (26)
- # minecraft (11)
- # off-topic (12)
- # pathom (1)
- # portal (11)
- # releases (1)
- # remote-jobs (1)
- # ring (11)
- # sci (1)
- # shadow-cljs (53)
- # specter (5)
- # xtdb (20)
Is this a bug for the tokenize function?
(def cmd "[\"test\"]")
(babashka.process/tokenize cmd)
The above gives
[ "[test" "]" ]
instead of
[ "[\"test\"]" ]
@UGC0NEP4Y Already pushed a fix to master
Hmm, could I chdir to a directory before making a zip, so that the zip entries would be relative to that directory, instead the one where I run a babashka script?
For now you could also cheat by doing:
(shell {:dir "subdir"} "bb -e '(fs/zip ...)'")
Am I understanding correctly that bb uberjar
only intends to create an uberjar for execution by bb
itself? Is there an easy way to create an uberjar that can run with java -jar
?
(I have a colleague with a Windows machine that is having difficulty installing Babashka, so I figured an uberjar would be an easy way for me to ship my code to him so that he could run it without Babashka.)
Please tell us about the difficulty on Windows. Babashka should be easy to install everywhere. Has he tried scoop?
Alternatively you can download the babashka uberjar and run your code using that as well
He got some error I didn't understand when he tried to add the clojure bucket to scoop.
Ah OK, that could work, thanks.
You can also just grab the bb.exe
binary from here:
https://github.com/babashka/babashka/releases/tag/v0.8.2
Fantastic. Will try that! Apologies if I didn't read the installation instructions thoroughly enough to notice that.