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

deadalnix deadalnix at gmail.com
Sun Apr 24 16:28:08 UTC 2022


On Sunday, 24 April 2022 at 09:56:13 UTC, rikki cattermole wrote:
>
> On 24/04/2022 9:44 PM, Guillaume Piolat wrote:
>> On Saturday, 23 April 2022 at 20:15:27 UTC, deadalnix wrote:
>>> I want tool to work for me, not work for the tool.
>> 
>> 
>> DUB gives me a chance to download and run your program and 
>> just type "dub".
>> 
>> While if I have to understand your build system first 
>> (especially if it's a _custom_ build system), install the 
>> right version of make, etc.. I will probably go on with my 
>> life and not even try.
>
> Is it dmc make? Cygwin's make, Microsoft's nmake? MingW's 
> make...
>
> So many options, and not a one may be on the PATH variable when 
> dub executes.
>

dub contains a dependency manager.

This is *EXACTLY* the problem that a dependency manager solves.

> At least with dub, unless you did something stupid involving 
> shell commands or non-D dependencies, or didn't test on a given 
> platform it should "just work".

Any project that is big enough so that `dmd -i` doesn't cut it 
anymore will do one of these things, most likely both.


More information about the Digitalmars-d mailing list