Sha256: c8ab9c5f81c41894ddbc98d7682d245a1465c853a2b7aded02ecbe742b548e05

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

desc "Create documentation"
Rake::RDocTask.new("doc") { |rdoc|
  rdoc.title = "HBaseRb - Naive Bayes classifier with HBase storage"
  rdoc.rdoc_dir = 'docs'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
}

# Run the unit tests
desc "Run all unit tests"
Rake::TestTask.new("test") { |t|
  t.libs << "lib"
  t.test_files = FileList['test/*_test.rb']
  t.verbose = true
}

spec = Gem::Specification.new do |s|
  s.name = "ankusa"
  s.version = "0.0.6"
  s.authors = ["Brian Muller"]
  s.date = %q{2010-12-06}
  s.description = "Text classifier with HBase storage"
  s.summary = "Text classifier in Ruby that uses Hadoop's HBase for storage"
  s.email = "brian.muller@livingsocial.com"
  s.files = FileList["lib/**/*", "[A-Z]*", "Rakefile", "docs/**/*"]
  s.homepage = "https://github.com/livingsocial/ankusa"
  s.require_paths = ["lib"]
  s.rubygems_version = "1.3.5"
  s.add_dependency('hbaserb', '>= 0.0.3')
  s.add_dependency('fast-stemmer', '>= 1.0.0')
end

Rake::GemPackageTask.new(spec) do |pkg|
  pkg.need_zip = true
  pkg.need_tar = true
end

desc "Default task: builds gem and runs tests"
task :default => [ :gem, :test ]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ankusa-0.0.6 Rakefile