dub subpckages and how to depend on them internally

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Sun Jun 3 15:23:52 UTC 2018


On Sunday, 3 June 2018 at 12:08:44 UTC, aliak wrote:
>
> The exact error for that setup is:
>
> source/app.d(4,9): Error: module `liba` is in file 'lib/liba.d' 
> which cannot be read
> import path[0] = source/
> import path[1] = ../lib/liba/source/
> import path[2] = ../lib/libb/source/
> import path[3] = /usr/local/opt/dmd/include/dlang/dmd
>
>
> Am I missing sourcePaths or something somewhere?

This is a very complicated answer, so I made a pull request 
instead:

https://github.com/aliak00/dub-subpackages/pull/1

lib/liba/source/suba

corrected:

lib/liba/source/liba/suba


More information about the Digitalmars-d mailing list