Sha256: c9ecc891376aa3bd91dd8a281a087cd794b25fa81d69a812f781643b5262787d

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "tach"
    gem.summary = %Q{Simple benchmarking}
    gem.description = %Q{Simple benchmarking with noticeable progress and pretty results.}
    gem.email = "wbeary@engineyard.com"
    gem.homepage = "http://github.com/geemus/tach"
    gem.authors = ["geemus (Wesley Beary)"]
    gem.add_dependency "formatador", ">= 0.0.12"
    gem.add_development_dependency "shindo", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'shindo/rake'
Shindo::Rake.new

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |tests|
    tests.libs << 'tests'
    tests.pattern = 'tests/**/*_tests.rb'
    tests.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: gem install spicycode-rcov"
  end
end

task :tests => :check_dependencies

task :default => :tests

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tach-0.0.6 Rakefile
tach-0.0.5 Rakefile
tach-0.0.4 Rakefile
tach-0.0.3 Rakefile
tach-0.0.2 Rakefile