On Mon, Aug 25, 2008 at 2:57 PM, lacton <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 18, 2008 at 12:32 AM, Assaf Arkin <[EMAIL PROTECTED]> wrote:
>> I think the easiest way would be to define a custom task
>> (BuildfileTask, or something like that) that collects the latest
>> timestamp from either buildfile or any of its dependencies, and make
>> that accessible from Buildr.appication.
>>
>> Right now Buildr.application.buildfile returns a file name, maybe
>> change that to return the task instead, and we won't need build_files.
>
> I added a first draft of this task in revision 688892.
>
> It's minimalistic, but it should be enough for a first implementation
> of the incremental test run feature.
Thanks. I rolled a change to use prerequisites instead, so you can
simply enhance Buildr.application.buildfile to add new dependencies.
A second benefit, you can find out all the build related files by
running --prereqs buildfile:
~/work/buildr (master) $ ruby -Ilib -Iaddon bin/buildr --prereqs buildfile
(in /Users/assaf/work/buildr, development)
buildr buildfile
build.yml
buildr.rb
tasks/test.rake
Also, found out a premature-initialization bug in ScalaTest:
https://issues.apache.org/jira/browse/BUILDR-138
Assaf
>
> Lacton
>