forked from infochimps-labs/wukong
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Rakefile
48 lines (39 loc) · 1.54 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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