Is there a way to change the root dir for build/running but keep all repo files?
viktormarinho
HOBBYOP

a year ago

I have code that wants to reach out to other repo files, but my project is inside a subfolder.

I want to be able to read the path "../some-other-dir/some-other-file.md". I have configured root dir and everything runs OK, but the rest of the repo gets deleted.

That seems pretty reasonable to me, but is there a way to achieve setting a new root dir while keeping all files in the repo? Or anything else that will have the same effect.

Maybe a way to override the deployment step where the code is downloaded.

4 Replies

brody
EMPLOYEE

a year ago

Are you using some kind of monorepo manager like turbo or mx? or maybe even workspaces?


viktormarinho
HOBBYOP

a year ago

Are you using some kind of monorepo manager like turbo or mx? or maybe even workspaces?

No im not! Would that change something?


brody
EMPLOYEE

a year ago

How are you managing your monorepo?


viktormarinho
HOBBYOP

a year ago

How are you managing your monorepo?

Im not using anything, i just happen to have a repo with two folders: one is a rust project and the other one is a folder that i want to read.

I could put a config file in the root tho


Loading...