Makefile experts, unite!

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 11 12:27:26 PDT 2017


Andrei Alexandrescu wrote:

> Phobos' posix.mak offers the ability to only run unittests for one module:
>
> make std/range/primitives.test BUILD=debug -j8
>
> ... or package:
>
> make std/range.test BUILD=debug -j8
>
> It runs module tests in parallel and everything. This is definitely 
> awesome. But say I misspell things by using a dot instead of the slash:
>
> make std.range.test BUILD=debug -j8
>
> Instead of an error, I get a no-op result that looks like success. How 
> can that situation be converted to an error?

p.s.: or replacing make-based build system with D-based. as we need working 
D compiler to compile dmd anyway, i see no reason to not use it more.


More information about the Digitalmars-d mailing list