-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRakefile
More file actions
32 lines (26 loc) · 853 Bytes
/
Rakefile
File metadata and controls
32 lines (26 loc) · 853 Bytes
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
version = File.read("VERSION")
spec = Gem::Specification.new do |s|
s.extensions = FileList["ext/**/extconf.rb"]
s.name = "rankable_graph"
s.summary = %Q{A Ruby Pagerank implementation}
s.description = %Q{A Ruby Pagerank implementation}
s.email = "dev@cuboxsa.com"
s.homepage = "http://github.com/cubox/rankable_graph"
s.authors = ["Daniel Cadenas"]
s.add_development_dependency "rspec", ">= 1.2.9"
s.requirements << 'glib2, v2.22.2 or greater'
s.version = version
s.files = `git ls-files`.split("\n")
end
require 'rubygems/package_task'
Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = false
pkg.need_tar = false
end
require 'rake/extensiontask'
Rake::ExtensionTask.new('rankable_graph', spec)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
end
task :spec => :compile
task :default => :spec