[gsoc] DUB - Ideas

Guillaume Piolat first.last at gmail.com
Sun Mar 3 20:22:46 UTC 2019


On Sunday, 3 March 2019 at 17:03:20 UTC, Joseph Rushton Wakeling 
wrote:
> Example: if one runs `dub test --build=release` then 
> intuitively one would expect (unit)tests to be run with release 
> flags and optimizations enabled. In fact no unittests are run, 
> because `--build=release` mandates a specific set of D flags 
> that does not include `-unittest`.

As a work-around you can use buildTypes today: 
https://p0nce.github.io/d-idioms/#Unittests-with-optimizations-:-the-Final-Frontier

I think it would be a good idea to have this in vanilla DUB.


More information about the Digitalmars-d mailing list