<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-12-02 10:53 GMT+01:00 Russel Winder via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2015-12-01 at 20:38 +0100, Sönke Ludwig via Digitalmars-d<br>
wrote:<br>
><span class=""><br>
> What is also possible is to add a "defaultCompiler" field to<br>
> ~/.dub/settings.json to change the default compiler user-wide.<br>
<br>
</span>I hadn't thought of that, possibly because the file name has .json as<br>
an extension. :-)<br>
<br>
I wonder if having a per-project file for this sort of "not part of the<br>
package specification, but part of the users use of the package" might<br>
be a good idea. THis way there could be different defaults on a per-<br>
project basis. Perhaps a settings.sdl file per project that takes<br>
priority of the settings.sdl/settings.json file in ~/.dub.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Russel.<br>
=============================================================================<br>
Dr Russel Winder      t: <a href="tel:%2B44%2020%207585%202200" value="+442075852200">+44 20 7585 2200</a>   voip: <a href="mailto:sip%3Arussel.winder@ekiga.net">sip:russel.winder@ekiga.net</a><br>
41 Buckmaster Road    m: <a href="tel:%2B44%207770%20465%20077" value="+447770465077">+44 7770 465 077</a>   xmpp: <a href="mailto:russel@winder.org.uk">russel@winder.org.uk</a><br>
London SW11 1EN, UK   w: <a href="http://www.russel.org.uk" rel="noreferrer" target="_blank">www.russel.org.uk</a>  skype: russel_winder<br>
<br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I'd personally like to have a `.dubconfig` settings, similar to how `.gitconfig` does it (same locations and lookup rules, e.g. ~/.dubconfig taking precedence over the global one). Some obvious candidates are the default compiler, where to store the package cache, the default file format to use, and the default values that gets used for copyright / author / license when running `dub init`.<br>I guess this should be part of an issue :)</div></div>