On Monday, 9 August 2021 at 16:32:13 UTC, Marcone wrote:
My main program need import a local module called mymodule.d.
How can I add this module using DUB? Thank you.

Let’s assume you just created a dub project in `myproject` with `dub init`. Place `mymodule.d` alongside `app.d` in `myproject/source`. Now you can `import mymodule` in `app.d`. Dub takes care of the linking.

— Bastiaan.

Reply via email to