Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2018-08-05 Thread Jacob Carlborg via Digitalmars-d-learn
On 2018-08-05 10:30, Bastiaan Veelo wrote: You mean the dependency range in dub.selections.json of an app on code.dlang.org? I would be in favour of it being a range, but I think that is unusual. Usually people just commit the generated file unedited, which seems to always be pinned to the

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2018-08-05 Thread Bastiaan Veelo via Digitalmars-d-learn
On Saturday, 4 August 2018 at 17:53:45 UTC, Neia Neutuladh wrote: On Friday, 3 August 2018 at 19:41:32 UTC, Bastiaan Veelo wrote: But if you commit it, and a compiler deprecation causes a dependency in that pinned version to fail to compile, then your app won't compile either, even though your

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2018-08-04 Thread Neia Neutuladh via Digitalmars-d-learn
On Friday, 3 August 2018 at 19:41:32 UTC, Bastiaan Veelo wrote: But if you commit it, and a compiler deprecation causes a dependency in that pinned version to fail to compile, then your app won't compile either, even though your code itself does not suffer from the deprecation and even though

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2018-08-04 Thread Jacob Carlborg via Digitalmars-d-learn
On 2018-08-03 21:41, Bastiaan Veelo wrote: But if you commit it, and a compiler deprecation causes a dependency in that pinned version to fail to compile, then your app won't compile either, even though your code itself does not suffer from the deprecation and even though a newer release of the

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2018-08-03 Thread Bastiaan Veelo via Digitalmars-d-learn
On Tuesday, 19 December 2017 at 10:15:18 UTC, Jacob Carlborg wrote: On 2017-12-18 23:36, WhatMeWorry wrote: [...] But when I look the directory that has the dub.sdl file, I also see a file called dub.selections.json { "fileVersion": 1, "versions": {     "derelict-al":

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2017-12-19 Thread Jacob Carlborg via Digitalmars-d-learn
On 2017-12-18 23:36, WhatMeWorry wrote: I've been using Dub for a while but from the very beginning I decided to go with SDL 100% of the time, So I've got a dub.sdl file like: name "01_10_camera_view_space" description "A minimal D application." authors "kheaser" copyright "Copyright © 2017,

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2017-12-19 Thread Jacob Carlborg via Digitalmars-d-learn
On 2017-12-18 23:57, WebFreak001 wrote: dub.selections.json is basically broken design The design is fine, not so sure about the implementation. I've explain many time before why it's necessary. -- /Jacob Carlborg

Re: Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2017-12-18 Thread WebFreak001 via Digitalmars-d-learn
On Monday, 18 December 2017 at 22:36:44 UTC, WhatMeWorry wrote: I've been using Dub for a while but from the very beginning I decided to go with SDL 100% of the time, So I've got a dub.sdl file like: name "01_10_camera_view_space" description "A minimal D application." authors "kheaser"

Dub project has both .sdl and .json files. Is this normal or did I do something wrong?

2017-12-18 Thread WhatMeWorry via Digitalmars-d-learn
I've been using Dub for a while but from the very beginning I decided to go with SDL 100% of the time, So I've got a dub.sdl file like: name "01_10_camera_view_space" description "A minimal D application." authors "kheaser" copyright "Copyright © 2017, kheaser" license "proprietary"