You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added [io.sarnowski/lein-docker "1.0.0"] to the monorepo's project.clj file and now running lein monolith each :select :project docker build. They error out as all those tasks that were selected are running in the base/root/main directory and not the directory of the actual selected projects.
Each of the projects selected this way have Dockerfiles that work. If I cd to those projects by hand and run lein docker build those commands work.
You can see the same issue with adding [lein-shell "0.5.0"] as a plugin dependency and running lein monolith each :select :project pwd. What you see there is that pwd always returns the same folder in which the monorepo's project.clj is located, the root/base one.
The expected behaviour is for the sub-tasks to chdir to the actual folder of their selected project.clj files.
The text was updated successfully, but these errors were encountered:
I added
[io.sarnowski/lein-docker "1.0.0"]
to the monorepo'sproject.clj
file and now runninglein monolith each :select :project docker build
. They error out as all those tasks that were selected are running in the base/root/main directory and not the directory of the actual selected projects.Each of the projects selected this way have Dockerfiles that work. If I
cd
to those projects by hand and runlein docker build
those commands work.You can see the same issue with adding
[lein-shell "0.5.0"]
as a plugin dependency and runninglein monolith each :select :project pwd
. What you see there is thatpwd
always returns the same folder in which the monorepo'sproject.clj
is located, the root/base one.The expected behaviour is for the sub-tasks to chdir to the actual folder of their selected
project.clj
files.The text was updated successfully, but these errors were encountered: