[gsoc] DUB - Ideas

Seb seb at wilzba.ch
Wed Mar 6 12:29:17 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.

Nope it only works locally. It does not work for anyone using it 
via dub. As mentioned earlier, try fetching this package (or any 
package with submodules) from the dub registry.


More information about the Digitalmars-d mailing list