Rakefile in Mange-git-remote-monitor-0.1.1 vs Rakefile in Mange-git-remote-monitor-0.1.2
- old
+ new
@@ -24,16 +24,19 @@
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Spec::Rake::SpecTask.new do |t|
t.libs << 'lib'
+ t.spec_files = FileList['spec/**/*.rb']
t.verbose = false
t.rcov = false
end
Spec::Rake::SpecTask.new('rcov') do |t|
t.libs << 'lib'
+ t.spec_files = FileList['spec/**/*.rb']
+ t.rcov_opts = ['--exclude', 'spec,rcov']
t.verbose = false
t.rcov = true
end
Rake::RDocTask.new do |rdoc|
@@ -42,6 +45,6 @@
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-task :default => :test
+task :default => :spec