Permalink
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (39 sloc) 1.54 KB
require 'rubygems' unless defined?(Gem)
require 'bundler/setup'
Bundler.setup(:default, :development)
require 'rake'
task :default => :rspec
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:rspec) do |spec|
Bundler.setup(:default, :development, :test)
spec.pattern = 'spec/**/*_spec.rb'
end
desc "Run RSpec with code coverage"
task :cov do
ENV['WUKONG_COV'] = "yep"
Rake::Task[:rspec].execute
end
require 'yard'
YARD::Rake::YardocTask.new do
Bundler.setup(:default, :development, :docs)
end
require 'jeweler'
Jeweler::Tasks.new do |gem|
Bundler.setup(:default, :development, :test)
gem.name = 'wukong'
gem.homepage = 'https://github.com/infochimps-labs/wukong'
gem.license = 'Apache 2.0'
gem.email = 'coders@infochimps.org'
gem.authors = ['Infochimps']
gem.summary = %Q{Hadoop Streaming for Ruby. Wukong makes Hadoop so easy a chimpanzee can use it, yet handles terabyte-scale computation with ease.}
gem.description = <<-EOF
Treat your dataset like a:
* stream of lines when it's efficient to process by lines
* stream of field arrays when it's efficient to deal directly with fields
* stream of lightweight objects when it's efficient to deal with objects
Wukong is friends with Hadoop the elephant, Pig the query language, and the cat on your command line.
EOF
gem.executables = FileList[* %w[bin/wu-lign bin/*.rb]].pathmap('%f')
gem.files = FileList["\w*", "**/*.md", "**/*.textile", "{bin,docpages,examples,lib,spec,utils}/**/*"]
end
Jeweler::RubygemsDotOrgTasks.new