On Wed, Feb 27, 2008 at 3:33 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I think i figured it out. seems I should be using
>
> Rake::Task["spec"].invoke
>
> as opposed to
>
> system "rake spec"
>
> found my answer here:
> http://railsbros.de/2007/11/19/rake-code-cruise-code-task
Here's what we do:
execute "time rake spec --trace"
def execute(cmd)
system(cmd) || raise("Build failed")
end
..but there are some drawbacks to that, so the Rake::Task.invoke may
be better in some cases...
BTW I just noticed your ID. Dave's not here!!!
-- Chad
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users