DUB 0.9.22 released

bioinfornatics via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Oct 6 16:35:21 PDT 2014


On Monday, 6 October 2014 at 18:15:08 UTC, Sönke Ludwig wrote:
> Am 06.10.2014 13:36, schrieb bioinfornatics:
>> Thanks for your works,
>>
>> One question, what about makefile support ?
>>
>> Regards
>
> It's still in need for a volunteer. The implementation itself 
> should be pretty straightforward (by inheriting from the 
> ProjectGenerator class), but I currently have too much higher 
> priority stuff on my table to get that done (plus generally 
> severely limited time due to an accumulation of work and 
> non-work related things).

I take a look but without a hacker doc that is not easy. So I
have some question ( do nott blame me )

---------------
why class who inherit from ProjectGenerator:
- should to get PackageManager as parameter in ctor (1) while
Project(2) struct has a PackageManager. Project struct is send
too in the ctor.

1)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/build.d#L39
2)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/project.d#L39

---------------
why method:
generateTargets( in GeneratorSettings settings, in
TargetInfo[string] targets)

take an associative array of targets always you use only one
target named m_project.rootPackage.name

---------------
why you assign project (3) this is  not done when super is called
(4)?
3)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/build.d#L42
4)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/generator.d#L48

thanks


More information about the Digitalmars-d-announce mailing list