Very basic newb Rake question

  • Thread starter Kenneth McDonald
  • Start date
K

Kenneth McDonald

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
 
S

Sandor Szücs

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
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top