Sha256: dca92990cfbb84ade64e245c3d807ac97d04773518c946a0204807f7e03665c9

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "workling_delta_indexer"
    gem.summary = %Q{workling delta indexing for thinking sphinx}
    gem.email = "dpickett@enlightsolutions.com"
    gem.homepage = "http://github.com/dpickett/workling_delta_indexer"
    gem.authors = ["Dan Pickett"]
    gem.add_dependency "freelancing-god-thinking-sphinx", ">= 1.1.5"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'workling_delta_indexer'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*', "LICENSE")
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require "YARD"
  YARD::Rake::YardocTask.new do |t|
  end
rescue LoadError

end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = false
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 :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workling_delta_indexer-0.1.2 Rakefile