GuiDub

ponce via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 29 00:53:10 PDT 2015


On Tuesday, 29 September 2015 at 05:17:42 UTC, Jacob wrote:
>
> Does anyone actually maintain all this or use it? Cause surely 
> I shouldn't be getting errors like this? I have about 50 
> packages in my dub.json and they all came from copying the 
> dependency directly(so no mistake on my part).
>
>

Some advices:


- do not use the "umbrella" packages like "dplug" but rather the 
sub-packages like "dplug:dsp". This will reduce the number of 
dependencies.

- cut the number of dependencies to the minimum. For example you 
have freeimage AND imaged who overlap quite a bit.
   More dependencies = more problems. Add them one by one IF they 
are needed and after evaluating them.

- before relying on a dependency, check that it looks maintained, 
has travis-ci integration, and build. Without editing anything, 
you can do:

     dub test thatpackage

anywhere and it should download and build the tests.

- if given the choice, use a derelict binding vs a statically 
linked dependency. This will make things a tad easier.





More information about the Digitalmars-d mailing list