amperity / lein-monolith

Leiningen plugin for working with monorepos.
Other
214 stars 18 forks source link

Appending clean targets in a subproject #96

Closed rome-user closed 6 months ago

rome-user commented 6 months ago

Hi,

I have a situation where a ClojureScript subproject generates an public/js folder and I would like to delete it when lein clean runs. When using relative paths in :clean-targets, this works as any other lein project. However, running lein monolith each clean results in a warning, since "public/js" resolves to ${root-of-monolith}/public/js, which does not exist and does not correspond to any project.

If necessary, I can set up a minimal project with the exact situation.

Thanks

rome-user commented 6 months ago

Duplicated by #94 -- I forgot I had submitted that issue, sorry