-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
32 lines (27 loc) · 910 Bytes
/
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
require "rubygems"
require "rubygems/package_task"
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = "parallel-forkmanager"
s.version = "2.0.5"
s.author = "Nathan Patwardhan"
s.rubyforge_project = "parallelforkmgr"
s.homepage = "https://github.com/npatwardhan/ruby-parallel-forkmanager/"
s.email = "noopy.org<at>gmail.com"
s.description = <<-ETX
A simple parallel processing fork manager, based on the Perl module.
ETX
s.license = "Ruby"
s.summary = "A simple parallel processing fork manager."
s.files = FileList["lib/parallel/*.rb", "examples/*.rb"].to_a
s.require_path = "lib/parallel"
s.has_rdoc = true
end
Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
task default: "gem"
task :test do
$LOAD_PATH.unshift "lib", "test"
Dir.glob("./test/test_*/**/*.rb") { |f| require f }
end