require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/sc-core-ext' Hoe.plugin :newgem # Hoe.plugin :website # Hoe.plugin :cucumberfeatures # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec 'sc-core-ext' do self.developer 'Colin MacKenzie IV', 'sinisterchipmunk@gmail.com' self.description = "A collection of core extensions that I have come to rely on in more than one package" self.readme_file = 'README.rdoc' self.extra_deps = [['activesupport','>= 2.3.5']] self.extra_dev_deps = [['rspec','>=1.3.0'],['rcov','>=0.9.8']] end Rake::RDocTask.new(:docs) do |rdoc| files = ['README.rdoc', # 'LICENSE', 'CHANGELOG', 'lib/**/*.rb', 'doc/**/*.rdoc']#, 'spec/*.rb'] rdoc.rdoc_files.add(files) rdoc.main = 'README.rdoc' rdoc.title = 'sc-core-ext' #rdoc.template = '/path/to/gems/allison-2.0/lib/allison' rdoc.rdoc_dir = 'doc' rdoc.options << '--line-numbers' << '--inline-source' end require 'newgem/tasks' Dir['tasks/**/*.rake'].each { |t| load t } remove_task :default task :default => :spec