dub subpckages and how to depend on them internally

drug drug2004 at bk.ru
Thu May 31 18:17:42 UTC 2018


On 31.05.2018 20:56, aliak wrote:
> On Thursday, 31 May 2018 at 13:54:07 UTC, Jesse Phillips wrote:
>> On Tuesday, 29 May 2018 at 23:41:59 UTC, aliak wrote:
>>> Hi, I'm trying to get dub working with subpackages and I just can't 
>>> quite seem to hit the nail on the head. Any help would be greatly 
>>> appreciated.
>>
>> Move your sub packages out of source. And each package will have it's 
>> own src folder, which you may have.
> 
> Do you mean dub can't have source folder as a top level source directory 
> if you use subpackages?
> 
> So do I have to do this?
> 
> root
>   |-- sub1/source
>   |-- sub2/source
> 
Yes


More information about the Digitalmars-d mailing list