Git, the D package manager
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Thu Feb 5 07:01:48 PST 2015
On Thu, 05 Feb 2015 14:48:12 +0100, Sönke Ludwig wrote:
> Am 03.02.2015 um 21:08 schrieb ketmar:
>> On Tue, 03 Feb 2015 19:43:53 +0100, Martin Nowak wrote:
>>
>>> On 02/03/2015 09:51 AM, ketmar wrote:
>>>> 'cause it really sux as a build tool.
>>>
>>> Not getting into any of the lengthy discussions of yours, but 'it sux'
>>> isn't really helping anyone to improve it.
>>
>> repeating the reasons why it sux doesn't help too. this thread alone
>> has some of them, including inability to do separate compilation (and
>> the reason why this can be needed).
>
> Separate per package (the default)? Separate by D module
> (--build-mode=singleFile)? Something else?
yes, incremental rebuilds, please. even for simple project with two
modules dub is not able to do incremental rebuilds:
=== source/app.d ===
import std.stdio;
import mymod;
void main () {
writeln(test);
}
=== source/mymod.d ===
module mymod;
int test () { return 42; }
% dub --build-mode=singleFile
Building _00 ~master configuration "application", build type debug.
Compiling using dmd...
Compiling source/app.d...
Compiling source/mymod.d...
Linking...
Running ./_00
42
so far, so good.
touch source/app.d
% dub --build-mode=singleFile
Building _00 ~master configuration "application", build type debug.
Compiling using dmd...
Compiling source/app.d...
Compiling source/mymod.d...
Linking...
Running ./_00
42
??? i didn't modified "mymod.d"! why it is rebuilding it?! 'cmon, it's in
no way better than a simple shell script that just executes "dmd -c" for
each file and then links the results.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150205/42261a37/attachment.sig>
More information about the Digitalmars-d
mailing list