[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Very basic newb Rake question

Kenneth McDonald

11/6/2008 4:25:00 PM

I have a rakefile that was created automatically by NetBeans, and want
to run just the rdoc task, which is of the form:

Rake::RDocTask do |rdoc|
...
end


However I have no idea what to invoke on the command line to execute
just this task. Everything I try also seems to invoke the
SpecTask, which isn't well-defined since I don't have a spec directory
(and don't even know what it's for). But it looks like
the RDocTask is self-contained, and so should be runnable on its own,
if I simply know how.

Thanks in advance,
Ken

1 Answer

Sandor Szücs

11/6/2008 4:38:00 PM

0


On 06.11.2008, at 17:25, Kenneth McDonald wrote:

> I have a rakefile that was created automatically by NetBeans, and =20
> want to run just the rdoc task, which is of the form:
>
> Rake::RDocTask do |rdoc|
> ...
> end
>
>
> However I have no idea what to invoke on the command line to execute =20=

> just this task. Everything I try also seems to invoke the
> SpecTask, which isn't well-defined since I don't have a spec =20
> directory (and don't even know what it's for). But it looks like
> the RDocTask is self-contained, and so should be runnable on its =20
> own, if I simply know how.

# This will list you all commands which the Rakefile in ./ know
$ rake -T

# Maybe that one?
$ rake rdoc


regards, Sandor Sz=FCcs
--