Fork me on GitHub
#babashka
<
2023-10-04
>
vemv18:10:40

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

vemv19:10:00

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)

vemv19:10:17

Is there something I should know about this feature? Any outstanding issues?

borkdude19:10:41

it's not a feature, just a function you use like any other function

borkdude19:10:39

or do you mean bb tasks itself? I haven't come across any bugs in a long while

👍 2
vemv19:10:55

the latter