The PackageTask and the RdocTask both create re-renditions of the main task in order to force the creation of packages or rdocs that already exist. Personally, I just did
Rake::Task['rerdoc'].comment = nil task :rdoc => [:clobber_rdoc] Perhaps that's considered dangerous for some reason? If so why not just ask the user if they're sure if they want to contiue or not? Another possibility. What about using a --force option on the command line to do a re-task. Example: $ rake rdoc rdocs at doc/ already exist. Use --force to rerdoc. $ rake rdoc --force ... Not sure, but it does seem kind of a waste to have two tasks that essentailly do the very same thing. Food for thought, T. _______________________________________________ Rake-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/rake-devel
