dub: standard project: how to build the unittest (the thing `dub test` runs)
Tobias Pankrath
tobias+dlang at pankrath.net
Sat Dec 12 12:47:59 UTC 2020
On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote:
>
> In any case you should have configurations in your dub json.
Thank you for your detailed reply and I am sure I can make it
work in the way you described.
But I don't think my use case is invalid and dub should improve
its usability here.
Either it is indeed necessary to provide configuration even for
very simple projects. Than dub should generate them on `dub
init`. Or dub allows one to just build the test without running
them. I'd propose `dub build test` or `dub build --test` for it.
What do you think?
More information about the Digitalmars-d-learn
mailing list