Closed MrcSnm closed 1 year ago
I'm needing some way to pass a custom path for the dub.json and use the current directory as the cwd.
What's your use case ?
What's your use case ?
I'm separating some part of configurations
in other folders for my program, the problem is that I'm unable to pass it while keeping a custom root directory. It all started by my need of unnamed dependencies, I have a meta dub program which outputs those unnamed dependencies, but I'm trying to keep at least the main program from not using this meta thing.
I still don't understand this use case. Why do you need unnamed dependencies ?
I still don't understand this use case. Why do you need unnamed dependencies ?
Because my engine is a main program which imports the user package as a dependency when in the release process. I'm still using it and I believe it won't change anytime soon.
System information
Feature Description
Right now, dub only accepts directories. The only way to build a dub.json located in another directory is by using --root. The problem about this approach is that it still required a file to be named dub.json and the path will be relative to the root directory. I'm needing some way to pass a custom path for the dub.json and use the current directory as the cwd.
Expected Behavior
Logs