Skip to content
Browse files

Pull rdoc and rcov.

  • Loading branch information...
1 parent 8aabca5 commit 902854839743aa874f871294805e9350db021fb9 @jnunemaker committed Apr 21, 2012
Showing with 0 additions and 22 deletions.
  1. +0 −22 Rakefile
View
22 Rakefile
@@ -1,33 +1,11 @@
require 'bundler'
Bundler::GemHelper.install_tasks
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'google-weather'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = false
end
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/*_test.rb'
- test.verbose = true
- end
-rescue LoadError
- task :rcov do
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
- end
-end
-
task :default => :test

0 comments on commit 9028548

Please sign in to comment.
Something went wrong with that request. Please try again.