I just created a dub package. Frankly, the whole thign is backward.

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Apr 26 20:41:53 UTC 2022


On Tue, Apr 26, 2022 at 04:29:54PM -0400, Steven Schveighoffer via Digitalmars-d wrote:
[...]
> Dub needs to play friendly with artifacts from other build systems. I
> have run into headaches with using other non-D projects also. But it
> doesn't have to play friendly with alternatives to building D code
> IMO.
> 
> But if you can all find a way to build dub projects in a way that's
> usable outside building with dub (e.g. `dub --produce-makefile` or
> whatnot), that's fine by me. Just don't make me change how I build my
> projects.
[...]

I'm really tempted to create a build tool that parses dub.sdl, et al, in
the source tree and maps them internally to its own representation that
replicates dub's actions, so existing dub projects would Just Work(tm),
while exposing a different interface for more advanced use cases. Or
perhaps extend dub.sdl for that purpose.


T

-- 
Never step over a puddle, always step around it. Chances are that whatever made it is still dripping.


More information about the Digitalmars-d mailing list