Dub recursive build and forcing pre-build commands to run

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 8 17:03:22 PDT 2016


I have two questions.

1. Is it possible to build subpackages when dub build is invoked 
for the main package? It's a pain to first do dub build 
:mysubpackage and then dub build.

2. It seems that when dub detects that no dependencies need to be 
updated, it does not run the pre-build commands. I have some 
pre-build commands that generate data to be imported by the main 
package and thus must always be run for a build. Is there a way 
to specify this?


More information about the Digitalmars-d-learn mailing list