dub is a source package manager but it is also a build system. Are there currently any plans to allow dependencies that should be auto-generated to be specified? I'm talking about something like the custom targets of CMake.

In terms of implementation I was thinking of a D file that is compiled, executed and run by dub as part of the build process in order to satisfy a dependency. Or any script I guess.

Atila