tasks/project.rake in eventmachine-eventmachine-0.12.7 vs tasks/project.rake in eventmachine-eventmachine-0.12.8
- old
+ new
@@ -35,11 +35,12 @@
# Only generate rdoc if the spec says so, again, jack the builtins.
if Spec.has_rdoc
Rake::RDocTask.new do |rd|
rd.title = Spec.name
rd.rdoc_dir = 'rdoc'
- rd.main = "docs/README" if test ?e, "docs/README"
+ rd.main = "README"
rd.rdoc_files.include("lib/**/*.rb", *Spec.extra_rdoc_files)
+ rd.rdoc_files.exclude(*%w(lib/em/version lib/emva lib/evma/ lib/pr_eventmachine lib/jeventmachine))
end
Rake::Task[:clean].enhance [:clobber_rdoc]
desc 'Generate and open documentation'
task :docs => :rdoc do
\ No newline at end of file