diff --git a/Rakefile b/Rakefile index 6470a9f8..952d4d3d 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,6 @@ rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end -require 'spec/rake/spectask' task :spec do system <<-COMMANDS cd ../core && @@ -40,30 +39,8 @@ task :spec do COMMANDS end -Spec::Rake::SpecTask.new(:rcov) do |spec| - spec.libs << 'lib' << 'spec' - spec.pattern = 'spec/**/*_spec.rb' - spec.rcov = true -end - - task :default => :spec -require 'rake/rdoctask' -Rake::RDocTask.new do |rdoc| - if File.exist?('VERSION.yml') - config = YAML.load(File.read('VERSION.yml')) - version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" - else - version = "" - end - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "rspec-meta #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end - namespace :git do [:status, :pull, :push, :reset].each do |key| command = key == :reset ? "reset --hard" : key.to_s