[Rake-devel] Setting the description using a constructor
djberg96 at gmail.com
Wed Nov 8 10:36:40 EST 2006
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rake-devel