On Tue, 2015-12-01 at 20:38 +0100, Sönke Ludwig via Digitalmars-d wrote: > […] > Not currently. dub.sdl is not ideal, because it would lead to > ambiguities within the dependency graph, but dub.selections.json > could > be extended to support that.
As Mathias pointed out putting the compiler choice in the dub.sdl file is actually not a good idea. I think leaving the dub.selection.json file as an automated file is probably best, it means it is disposable and recreatable easily without fear. > What is also possible is to add a "defaultCompiler" field to > ~/.dub/settings.json to change the default compiler user-wide. I hadn't thought of that, possibly because the file name has .json as an extension. :-) I wonder if having a per-project file for this sort of "not part of the package specification, but part of the users use of the package" might be a good idea. THis way there could be different defaults on a per- project basis. Perhaps a settings.sdl file per project that takes priority of the settings.sdl/settings.json file in ~/.dub. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
