[Rake-devel] :needs example
Jim Weirich
jim.weirich at gmail.com
Mon Sep 22 21:36:05 EDT 2008
On Sep 22, 2008, at 7:27 PM, Steven Parkes wrote:
> The rakefile.rdoc says that when passing prereqs to a task with
> params you
> have to use a :needs key, but the example doesn't seem to actually
> have it.
>
> I believe
> task :name, [:first_name, :last_name] => [:pre_name] do |t, args|
> should be
> task :name, [:first_name, :last_name], :needs => [:pre_name] do |
> t, args|
Rake was updated to not need the :needs parameter. I must have missed
a spot in the documentation. Sorry.
--
-- Jim Weirich
-- jim.weirich at gmail.com
More information about the Rake-devel
mailing list