This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-04
Channels
- # announcements (6)
- # babashka (7)
- # beginners (2)
- # biff (5)
- # calva (2)
- # cherry (17)
- # cider (3)
- # clj-kondo (8)
- # clojure (202)
- # clojure-brasil (8)
- # clojure-europe (20)
- # clojure-norway (23)
- # clojure-uk (4)
- # clojuredesign-podcast (5)
- # conjure (1)
- # cursive (9)
- # eastwood (22)
- # events (8)
- # fulcro (3)
- # hyperfiddle (22)
- # introduce-yourself (7)
- # lsp (67)
- # malli (1)
- # matrix (1)
- # meander (6)
- # off-topic (76)
- # pedestal (8)
- # polylith (17)
- # quil (12)
- # re-frame (2)
- # reagent (8)
- # releases (3)
- # shadow-cljs (67)
- # sql (93)
- # squint (39)
- # tools-deps (46)
- # vim (7)
Do bb tasks support Makefile-style caching? e.g. say that foo.json is expensive to build, I want to be able to depend on foo.json and build it based on whether it exists / its timestamp
This is done using a function called fs/modified-since
:
https://blog.michielborkent.nl/speeding-up-builds-fs-modified-since.html
Thanks! I reckon I'll progressively play with it I use Makefiles extensively. I also am fostering Makefiles for users here https://github.com/clojure-emacs/enrich-classpath/tree/b57f1659f3fed36e4f05f1a8fc5706eb0329efd8#any-lein-or-toolsdeps-project but I reckon bb would have a greater acceptance factor (plus easier Windows compat)