boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
alexyakushev 2019-04-02T09:44:33.002900Z

Is there a way to add a directory to classpath so that the top-level path is retained? E.g., I want to add res/ to :resource-paths, so that on the classpath the files are accessible as res/foo/bar..., not foo/bar....

flyboarder 2019-04-02T17:01:06.003800Z

@alexyakushev no, you would need to nest your folders one more level to do that

alexyakushev 2019-04-02T17:02:13.004200Z

Perhaps, there is a hack to do that using sift magic?

alexyakushev 2019-04-02T17:03:33.005100Z

I need to add a bunch of dirs that are top-level in the project, and putting them in another folder would break a lot of conventions

dave 2019-04-02T17:08:35.005300Z

i wonder if symlinks could help?

dave 2019-04-02T17:08:44.005600Z

no idea how well boot handles those

flyboarder 2019-04-02T20:18:34.006200Z

@dave simlinks have issues, there is an untested patch

flyboarder 2019-04-02T20:19:07.006800Z

@alexyakushev you could use sift task and move the files around

flyboarder 2019-04-02T20:19:53.007900Z

Although I wonder how moving the files down one folder would break conventions, is there something else this would affect?

2019-04-02T22:49:29.008700Z

@alexyakushev sift is definitely your friend.