How to use dub with our own package

JG someone at somewhere.com
Wed May 12 17:23:16 UTC 2021


On Wednesday, 12 May 2021 at 13:37:26 UTC, Vinod K Chandran wrote:
> Hi all,
> I am creating a hobby project related with win api gui 
> functions. i would like to work with dub. But How do I use dub 
> in my project.
> 1. All my gui library modules are located in a folder named 
> "winglib".
> 2. And that folder also conatains a d file called "package.d"
> 3. "package.d" contains all the public imports.
> 4. Outside this winglib folder, I have my main file called 
> "app.d"
> 5. "app.d" imports "winglib".
> So in this setup, how do I use dub ? Thanks in advance.

Have a look at 
[link](https://forum.dlang.org/post/jyxdcotuqhcdfqwwhstc@forum.dlang.org).


More information about the Digitalmars-d-learn mailing list