Sha256: f78c005897e0f10fe2333b39a86e95b349ab797887ad261e505b971b320e0891

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "dionysus"
    gem.summary = %Q{A helpful set of utility classes, generators, and command-line tools.}
    gem.email = "warlickt@operissystems.com"
    gem.homepage = "http://github.com/tekwiz/dionysus"
    gem.authors = ["Travis D. Warlick, Jr."]
    gem.add_dependency 'activesupport', '~> 3.0.0'
    gem.add_development_dependency "rspec", ">= 1.2.9"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
  spec.rcov_opts << '--exclude \/Library\/' << '--exclude /\.gem\/'
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "Dionysus #{version}"
  rdoc.rdoc_files.include('README*', 'LICENSE', 'VERSION')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :clobber => [:clobber_rcov, :clobber_rdoc]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dionysus-0.3.1 Rakefile