i think it would be better to develop something like "universal interface" for this. so we can configure compiler to exec external program which does all the things. this way it wouldn't be tied to dub.
by the way, i believe that something like this can be done with external wrapper like rdmd. dubdmd, for example, which analyses imports the same way rdmd does and invokes dub for all missing libraries, and then invokes dmd with necessary options added.
signature.asc
Description: PGP signature
