Sha256: 3ddd42c5ec32a1f9f08200eb59d08d376ceae31a17e58fee9c8534789968e941

Contents?: true

Size: 1.45 KB

Versions: 1

Compression:

Stored size: 1.45 KB

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

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_bundler_dependencies(:default, :development)
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new

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.2 Rakefile