simple dub question - avoiding creating a vibed project

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 5 03:15:17 PST 2015


On 5/01/2015 11:55 p.m., Laeeth Isharc wrote:
> On Monday, 5 January 2015 at 10:46:17 UTC, Rikki Cattermole wrote:
>> On 5/01/2015 11:42 p.m., Laeeth Isharc wrote:
>>> Figured out a fix:
>>>      "versions": ["VibeCustomMain"],
>>>
>>> It is still mysterious as to why it is pulling in vibed though (I don't
>>> import it, and I didn't think ddbc did).
>>
>> https://github.com/mysql-d/mysql-native/blob/master/package.json
>
> aha.
>
> isn't this a poor default for dub though?
>
> ie if your parent project itself does not depend on vibed, the default
> should be that you take care of main yourself, and it does not try and
> use vibed's, no ?

https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/appmain.d#L28


More information about the Digitalmars-d-learn mailing list