On Monday 21 March 2005 05:29 pm, Giulio  Piancastelli wrote:
> Hi all,
>
> so my last attempt [1] at building a task for running RubyFIT tests
> from within Rake has been successful, and simpler than I thought. In
> fact, thanks to the online examples in the Rake wiki, I've been able to
> come up with something nice enough to be a good first step for my aim.
>
> But now I'd like to turn those tasks in a proper TaskLib, and things
> seems to be really a  bit thougher here. Has anyone had experience
> doing that, and would like to share some insights? I've tried mimicking
> the structure of testtask.rb, the TaskLib for running Unit Tests, but
> Rake aborts every time I run my script because "don't know how to build
> task". I've seen the error comes from rake.rb, but I didn't manage to
> understand what the code is trying to do right there.
>
> Thanks in advance to anyone willing to help.

One of the things I've been thinking about for the next major version of Rake 
is a better way to specify and use libraries of related tasks.  Its still at 
the "thinking about" stage yet, so don't hold your breath.

If you can post the details of what you are doing, I'd be glad to give a hand.

-- 
-- Jim Weirich    jim / weirichhouse.org     http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)