Dub use

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 2 08:50:28 PST 2015


On Wed, 02 Dec 2015 09:53:32 +0000, Russel Winder via Digitalmars-d wrote:

> 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.

You mean dub.selections.json isn't intended to be end-user-modifiable? I 
keep getting warnings about deprecated branch dependencies that say I 
should use a version tag and, if I really want a branch, edit 
dub.selections.json to make it happen.

(This is mainly for ancient packages from before the semver times, most 
of which don't work at present.)


More information about the Digitalmars-d mailing list