Thread overview | |||||
---|---|---|---|---|---|
|
August 14, 2015 dub and subpackages | ||||
---|---|---|---|---|
| ||||
i'm trying to have my own versions of my dependencies as git submodules. problem: i include a local version of vibe.d and then i add other local versions of packages that themselves include vibe.d somehow my version of vibe isn't picked up by the other dependencies and it results in an error: "Sub package vibe-d: doesn't exist." when i go and simply remove the vibe-d dependency from the dub.json it compiles fine. but that can't be the solution. dub --version DUB version 0.9.24-rc.2+18-g4fece3c, built on Aug 14 2015 top level project uses dub.sdl, subpackages use dub.json. whats the correct way of having a chain of packages included from git submodules so that every packages get's only picked once? |
August 14, 2015 Re: dub and subpackages | ||||
---|---|---|---|---|
| ||||
Posted in reply to yawniek | On Friday, 14 August 2015 at 08:06:15 UTC, yawniek wrote:
> i'm trying to have my own versions of my dependencies as git submodules.
>
>
> whats the correct way of having a chain of packages included from git submodules so that every packages get's only picked once?
dub add-local allows you to add local copy of a package. This will be system wide though, not only for the current package.
|
August 14, 2015 Re: dub and subpackages | ||||
---|---|---|---|---|
| ||||
Posted in reply to Edwin van Leeuwen | On Friday, 14 August 2015 at 08:09:18 UTC, Edwin van Leeuwen wrote:
> On Friday, 14 August 2015 at 08:06:15 UTC, yawniek wrote:
> dub add-local allows you to add local copy of a package. This will be system wide though, not only for the current package.
i actually tried this, somehow did't work
|
Copyright © 1999-2021 by the D Language Foundation