I just committed tools/remake.d. What it does in a nutshell is this:
it lets you add a call in your main.d file, along the lines of
checkRemake(args, "path/to/source/file.d");
checkRemake invokes gdc (or a compiler of choice, via string Compiler), in
verbose mode, to generate a list of import
Instead of running build/bud you could run your old program to rebuild
itself?
>I just committed tools/remake.d. What it does in a nutshell is this:
>
> it lets you add a call in your main.d file, along the lines of
>
> checkRemake(args, "path/to/source/file.d");
>
> checkRemake invokes gdc (or
Saaa wrote:
> Instead of running build/bud you could run your old program to rebuild
> itself?
>
That's the idea! :)
>> I just committed tools/remake.d. What it does in a nutshell is this:
>>
>> it lets you add a call in your main.d file, along the lines of
>>
>> checkRemake(args, "path/to/sou