Sha256: 3d969ee01a2604e91f9b91f3fca20df621306fcdaa9a0ca213168126c8c3be4f

Contents?: true

Size: 1.47 KB

Versions: 23

Compression:

Stored size: 1.47 KB

Contents

# -*- coding: utf-8 -*-

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "bridge"
    gem.summary = %Q{Contract bridge utilities}
    gem.description = %Q{Useful contract bridge utilities - deal generator, id to deal and deal to id conversion}
    gem.email = "qoobaa+github@gmail.com"
    gem.homepage = "http://github.com/qoobaa/bridge"
    gem.authors = ["Jakub Kuźma"]
    gem.add_development_dependency "test-unit", ">= 2"
    # 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 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  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|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bridge-0.0.23 Rakefile
bridge-0.0.22 Rakefile
bridge-0.0.21 Rakefile
bridge-0.0.20 Rakefile
bridge-0.0.19 Rakefile
bridge-0.0.18 Rakefile
bridge-0.0.17 Rakefile
bridge-0.0.16 Rakefile
bridge-0.0.15 Rakefile
bridge-0.0.14 Rakefile
bridge-0.0.13 Rakefile
bridge-0.0.12 Rakefile
bridge-0.0.11 Rakefile
bridge-0.0.10 Rakefile
bridge-0.0.9 Rakefile
bridge-0.0.8 Rakefile
bridge-0.0.7 Rakefile
bridge-0.0.6 Rakefile
bridge-0.0.5 Rakefile
bridge-0.0.4 Rakefile