Using Dub
cym13 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 16 08:51:40 PST 2017
On Monday, 16 January 2017 at 16:47:29 UTC, cym13 wrote:
> On Monday, 16 January 2017 at 10:59:33 UTC, Russel Winder wrote:
>> On Mon, 2017-01-16 at 10:47 +0000, cym13 via
>> Digitalmars-d-learn wrote:
>>> On Monday, 16 January 2017 at 09:42:03 UTC, Russel Winder
>>> wrote:
>>> > On Sun, 2017-01-15 at 17:44 +0000, cym13 via
>>> > Digitalmars-d-learn wrote:
>>> > > [...]
>>> >
>>> > Will an SDL file also work?
>>>
>>> I don't think so, but as that's about the only option you can
>>> put in that file it's ok to use JSON.
>>
>> I tried it, it failed. :-(
>>
>> Humans should never have to manually write XML or JSON.
>
> What do you mean it failed? I did that on another computer to
> test and it works flawlessly for me.
>
> This configuration file can contain only two options: default
> compiler and urls to reach when looking for packets. It's
> litterally 3 lines, while I support the fact that one should
> never have to write XML that's about as concise as it can get.
Oh, maybe you're on windows, in which case the settings.json file
must be placed in either $ProgramData\dub or in $APPDATA\dub.
Relevant lines of dub.d:
https://github.com/dlang/dub/blob/master/source/dub/dub.d#L165
More information about the Digitalmars-d-learn
mailing list