Sha256: e4c27af4a9cb4185b7a7b089d6abf2e8bb745c3738054b2dc32b15a0abb215ee

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "gearman-ruby"
    s.summary = "Library for the Gearman distributed job system"
    s.email = "john@unixninjas.org"
    s.homepage = "http://github.com/gearman-ruby/gearman-ruby"
    s.description = "Library for the Gearman distributed job system"
    s.authors = ["John Ewart", "Colin Curtin", "Daniel Erat", "Ladislav Martincik", "Pablo Delgado", "Mauro Pompilio", "Antonio Garrote", "Kim Altintop"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Gearman Ruby'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Rcov::RcovTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/*_test.rb']
  t.verbose = true
end

task :default => :rcov

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gearman-ruby-3.0.1 Rakefile