This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-13
Channels
- # announcements (1)
- # babashka (30)
- # beginners (43)
- # biff (24)
- # calva (72)
- # cider (12)
- # clj-commons (24)
- # clj-on-windows (10)
- # cljsrn (23)
- # clojure (123)
- # clojure-bay-area (6)
- # clojure-europe (43)
- # clojure-losangeles (2)
- # clojure-nl (2)
- # clojure-uk (9)
- # clojurescript (125)
- # core-async (9)
- # cursive (2)
- # data-science (3)
- # datomic (30)
- # devops (1)
- # emacs (13)
- # events (5)
- # fulcro (15)
- # graalvm (3)
- # gratitude (1)
- # humbleui (11)
- # lsp (5)
- # nbb (24)
- # off-topic (11)
- # pedestal (5)
- # releases (1)
- # remote-jobs (1)
- # sci (15)
- # scittle (16)
- # shadow-cljs (15)
- # sql (11)
- # tools-deps (9)
- # xtdb (5)
Does anyone here know about boot and cljsjs? I'm asking because I'm wondering if this step in the cljsjs
readme is still relevant or this could be accomplished some other way with tools-deps now: https://github.com/cljsjs/packages/wiki/Creating-Packages#5-add-buildboot-and-readmemd-files
I think you could adapt the Boot task into a deps.edn
alias analogous to those used by stuff like tools.build
- just a main fn that you can invoke from the alias to accomplish all the packaging tasks. https://clojure.org/guides/tools_build
I've never used cljsjs, but having used Boot a little bit ages ago its idea of "pods" is a little wonky and hard to directly translate into ordinary Clojure code. It looks like that description gives a decent overview of the steps you'd need to define in the function you run under a deps.edn
alias, though.
Ok. Wasn't sure if there was something "special" to boot, I'm assuming it's just because converting over a zillion packages in the cljsjs repo isn't worth it
I've heard, though, that boot is w00t
https://www.reddit.com/r/bullcity/comments/xo77l9/does_anybody_know_what_this_little_fella_is_on/
@U3BALC2HH FYI, we converted our work setup from Leiningen to Boot in 2015 but started to run into bugs/problems with both Boot's pods and the sort of shadow file system, so we switched to CLI/`deps.edn` in 2018. We've since added build.clj
/`tools.build`. Everything you can do in Boot as tasks just maps to functions in build.clj
except for the classloader isolation of "pods" -- but, as @UFTRLDZEW hinted above, there are definitely problems with that approach and spawning new Java processes (easy with tools.build
) is simpler and safer.
I think at this point almost no one is still using Boot (compared to Leiningen and Clojure CLI).
Awesome, thank you!