How to organize a project with local scripts in subdirectories using dub?

Pavel Shkadzko p.shkadzko at gmail.com
Wed Dec 11 16:20:06 UTC 2019


On Wednesday, 11 December 2019 at 16:06:30 UTC, drug wrote:

> Add to dub.json:
> "targetType": "executable"
>
> and it will build executable. Or rename evaluator.d to app.d
> It is confused that there is no app.d so it thinks that you 
> build a library.

I added "targetType" and now everything works without renaming to 
the script to "app.d". Thank you!


More information about the Digitalmars-d-learn mailing list