How make dub import local D modules (mymodule.d) dependencies?
Thread overview | |||||
---|---|---|---|---|---|
|
April 10, 2021 Why DUB do not import local D modules dependencies? | ||||
---|---|---|---|---|
| ||||
April 10, 2021 Re: Why DUB do not import local D modules dependencies? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcone | 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 |
April 10, 2021 Re: Why DUB do not import local D modules dependencies? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcone | 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. |