On Sunday, 15 January 2017 at 13:23:25 UTC, Russel Winder wrote:
> Is there any way of setting dub to default to ldc2 rather than
> dmd as the compiler of use? (I do not want to have to put
> --compiler ldc2 on every dub command.)
Create a file ~/.dub/settings.json with the following content:
{
"defaultCompiler": "ldc2"
}