-
Notifications
You must be signed in to change notification settings - Fork 7
/
Rakefile
33 lines (30 loc) · 833 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
33
require 'rubygems'
require 'rake/testtask'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "munkres"
s.version = "0.1.0"
s.author = "Paul Damer and Jim Wood"
s.email = '[email protected]'
s.homepage = "http://github.com/pdamer/munkres"
s.platform = Gem::Platform::RUBY
s.summary = "A Ruby implementation of the Hungarian Algorithm"
s.description = "A ruby implementation of the kuhn-munkres or 'hungarian' algorithm for bipartite matching."
s.rubyforge_project = "munkres"
s.test_files = ['test/munkres_test.rb']
s.files = %w[
lib/munkres.rb
test/munkres_test.rb
README.txt
Rakefile
History.txt
]
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
Rake::TestTask.new() do |t|
t.libs << "test"
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end