boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
borkdude 2020-07-20T16:52:21.051500Z

Is it possible to add something to the classpath in boot, but not making it part of a fileset, just let it sit on the filesystem?

borkdude 2020-07-20T16:52:48.052100Z

I'm trying to do a build with figwheel.main + deps.edn and combine this with our boot backend.

borkdude 2020-07-20T16:53:06.052600Z

Making the output of figwheel main write into target or resources, makes boot very slow

micha 2020-07-20T16:54:41.052900Z

https://github.com/boot-clj/boot/blob/master/doc/boot.pod.md#add-classpath @borkdude does that do what you want?

borkdude 2020-07-20T16:57:19.054200Z

@micha It might. The first thing I tried was letting the CLJS compiler write to target-js and in build.boot I added target-js to :resource-paths. What's the difference with add-classpath ?

micha 2020-07-20T16:59:26.054800Z

add-classpath isn't going to reload anything

micha 2020-07-20T16:59:53.055400Z

it's just adding something to the classpath with no extra fileset special treatment

micha 2020-07-20T17:00:34.055600Z

it's a low level function

micha 2020-07-20T17:07:16.056200Z

i guess there are a ton of files being written to target-js when you point the cljs compiler at it?

micha 2020-07-20T17:07:29.056500Z

which makes things slow?

borkdude 2020-07-20T18:13:37.057800Z

yes, also I got file-system related errors on macOS. the same happens sometimes while switching branches in git

borkdude 2020-07-20T18:15:17.058500Z

sorry I can't be more specific, it's been a couple of months since I worked on this. I'll try to reproduce it again and also try add-classpath