Hi,

I noticed that if I create a task using a constructor, the description doesn't seem to get picked up:

desc "This is Dan's test"
Rake::TestTask.new do |t|
   # stuff here
end

If I run "rake -T" it just shows "rake test  # Run tests"

Is there a way to set the description using this style?  I tried putting the desc() call inside the block but that didn't seem to help.

Thanks,

Dan
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to