Permalink
Browse files

cleaned up Rakefile

  • Loading branch information...
1 parent 8505c63 commit 33d5118bb33c2b882b698f79864f4bcf6aacd230 cloudhead committed Oct 27, 2009
Showing with 2 additions and 31 deletions.
  1. +2 −31 Rakefile
View
@@ -5,13 +5,12 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "toto"
- gem.summary = %Q{TODO: one-line summary of your gem}
- gem.description = %Q{TODO: longer description of your gem}
+ gem.summary = %Q{the tiniest blog-engine in Oz}
+ gem.description = %Q{the tiniest blog-engine in Oz.}
gem.email = "self@cloudhead.net"
gem.homepage = "http://github.com/cloudhead/toto"
gem.authors = ["cloudhead"]
gem.add_development_dependency "minitest"
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -25,33 +24,5 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
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 :test => :check_dependencies
-
task :default => :test
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- if File.exist?('VERSION')
- version = File.read('VERSION')
- else
- version = ""
- end
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "toto #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end

0 comments on commit 33d5118

Please sign in to comment.