Automated rebuilding on program startup: tools.remake

2009-04-21 Thread downs
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

Re: Automated rebuilding on program startup: tools.remake

2009-04-21 Thread Saaa
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

Re: Automated rebuilding on program startup: tools.remake

2009-04-21 Thread downs
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