dustmite on dub project

Steven Schveighoffer schveiguy at gmail.com
Tue Jan 26 20:46:38 UTC 2021


On 1/26/21 3:36 PM, Steven Schveighoffer wrote:
> On 1/26/21 3:17 PM, Andre Pany wrote:
>> On Tuesday, 26 January 2021 at 20:09:27 UTC, Steven Schveighoffer wrote:
>>> Hold on, where do you see this? mysql-native has dub.sdl, and it 
>>> doesn't have these in there.
>>>
>>
>> I executed `dub init sample` and added in the interactive console the 
>> dependency `mysql-native`. It added `mysql-native ~> 3.0.0`. In the 
>> local dub package folder I opened dub.json of package mysql-native. I 
>> assume dub converts dub.sdl to dub.json while fetching packages. Here 
>> I found the content of this 
>> https://github.com/mysql-d/mysql-native/blob/master/dub.sdl just as 
>> JSON formatted.
> 
> Oh wow. Weird.
> 
> No, the dub.sdl does NOT contain the exclusion of the package.d file 
> (see in the file you actually linked).
> 
> So dub-registry is doing this? or is it dub? Now I need to load a 
> previous version of dmd and see if this works.

It's dub.

https://github.com/dlang/dub/pull/2039

Not sure if I agree with this change.

-Steve


More information about the Digitalmars-d-learn mailing list