How to make dub recursively build subPackages?

Vijay Nayar madric at gmail.com
Wed Feb 2 10:55:55 UTC 2022


On Wednesday, 2 February 2022 at 10:14:25 UTC, Vijay Nayar wrote:
> Greetings folks,
>
> In my project, I have a parent package with several 
> sub-packages, each of which builds into either a library or an 
> executable.
>
> [...]

I should point out there is 1 exception to subPackages not being 
recursive. The `dub clean` command does recurse, and there is 
source code for it here: 
https://github.com/dlang/dub/blob/3abaa4d5b7c3b2c21ab75370cd5330e9ae7bbd12/source/dub/dub.d#L880


More information about the Digitalmars-d-learn mailing list