forked from dcadenas/rubydeps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
39 lines (31 loc) · 1.17 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
require 'rubygems'
require 'rake'
spec = Gem::Specification.new do |s|
s.extensions = FileList["ext/**/extconf.rb"]
s.name = "rubydeps"
s.summary = %Q{A tool to create class dependency graphs from test suites}
s.description = %Q{A tool to create class dependency graphs from test suites}
s.email = "[email protected]"
s.homepage = "http://github.com/dcadenas/rubydeps"
s.authors = ["Daniel Cadenas"]
s.executables = ["rubydeps"]
s.add_development_dependency(%q<rake-compiler>, ["~> 0.8"])
s.add_development_dependency(%q<rspec>, ["~> 2.13"])
s.add_development_dependency(%q<file_test_helper>, ["~> 1.0"])
s.add_dependency(%q<debase-ruby_core_source>, ["~> 0.9.4"])
s.add_dependency(%q<ruby-graphviz>, ["~> 1.0"])
s.add_dependency(%q<thor>, ["~> 0.18"])
s.version = File.read("VERSION")
s.files = `git ls-files`.split
end
require 'rake/extensiontask'
Gem::PackageTask.new(spec) do |pkg|
end
Rake::ExtensionTask.new('call_site_analyzer', spec)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ["-f progress", "-r ./spec/spec_helper.rb"]
t.pattern = 'spec/*_spec.rb'
end
task :spec => :compile
task :default => :spec