digitalmars.D.learn - Why DUB do not import local D modules dependencies?
- Marcone (1/1) Apr 09 2021 How make dub import local D modules (mymodule.d) dependencies?
- Andre Pany (5/6) Apr 09 2021 Could you please provide more details about your scenario,
- Mike Parker (8/9) Apr 09 2021 Dub doesn't import modules. That's for the compiler. Dub will
How make dub import local D modules (mymodule.d) dependencies?
Apr 09 2021
On Saturday, 10 April 2021 at 02:10:48 UTC, Marcone wrote:How make dub import local D modules (mymodule.d) dependencies?Could you please provide more details about your scenario, otherwise it is quite hard to understand your question. Kind regards Andre
Apr 09 2021
On Saturday, 10 April 2021 at 02:10:48 UTC, Marcone wrote:How make dub import local D modules (mymodule.d) dependencies?Dub doesn't import modules. That's for the compiler. Dub will send every module in your source directory tree to the compiler and they will be available to import. If you have files you want to compile outside of the source directory tree, you can configure "sourceFiles" or "sourcePaths" in your dub.json/sdl. You'll want to also configure "importPaths" in that case.
Apr 09 2021