Permalink
Browse files

Remove old rdoc rake task

  • Loading branch information...
1 parent 50001e4 commit b6207afd81c6a2c96ed843101a120db1d615dfe7 @rodjek committed Oct 20, 2012
Showing with 0 additions and 19 deletions.
  1. +0 −19 Rakefile
View
@@ -2,29 +2,10 @@ require 'rake'
require 'rspec/core/rake_task'
task :default => :test
-#task :default => [:test, :rdoc]
RSpec::Core::RakeTask.new(:test)
RSpec::Core::RakeTask.new(:cov) do |t|
t.rcov = true
t.rcov_opts = '--exclude "spec" --xrefs'
end
-
-### RDOC Tasks ###
-require 'rdoc'
-if (RDoc::VERSION.split('.') <=> ['2','4','2']) >= 0
- require 'rdoc/task'
- RDoc::Task.new(:rdoc) do |rdoc|
- rdoc.main = "README.md"
- rdoc.rdoc_files.include("README.md", "lib/**/*.rb")
- rdoc.options << "--all"
- end
-else
- require 'rake/rdoctask'
- Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.main = "README.md"
- rdoc.rdoc_files.include("README.md", "lib/**/*.rb")
- rdoc.options << "--all"
- end
-end

0 comments on commit b6207af

Please sign in to comment.