[gsoc] DUB - Ideas
Atila Neves
atila.neves at gmail.com
Wed Mar 6 14:27:56 UTC 2019
On Wednesday, 6 March 2019 at 12:23:07 UTC, Joseph Rushton
Wakeling wrote:
> On Tuesday, 5 March 2019 at 10:44:04 UTC, Atila Neves wrote:
>> Try starting a new dub project that depends on autowrap v0.2.0.
>
> Indeed if you just add a regular dub dependency this won't work
> (because dub doesn't know how to check out the pyd submodule).
> But try instead:
>
> * in your main project add a submodule for autowrap (checking
> out v0.2.0)
>
> * in your dub config specify the dependency as
>
> "autowrap": { "path": "./path/to/autowrap_submodule" }
>
> (or whatever the SDL equivalent is).
>
> That works.
I don't want to do that. I want to use dub as intended, and have
it figure out versions for me. I also want to make my code
available for others, have them list my package in their dub.sdl
and for Bob to subsequently be their proverbial uncle.
It's bad enough I can't use dub as a build system, I'm certainly
not going to manually do its job as a package manager!
Especially if one of the submodules depends on a dub package that
depends on a dub package that depends on a dub package...
More information about the Digitalmars-d
mailing list