forked from tribune/path_tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
37 lines (34 loc) · 1.14 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
require 'rubygems'
require 'rake'
desc 'Default: run unit tests'
task :default => :test
begin
require 'rspec'
require 'rspec/core/rake_task'
desc 'Run the unit tests'
RSpec::Core::RakeTask.new(:test)
rescue LoadError
task :test do
raise "You must have rspec 2.0 installed to run the tests"
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "path_tree"
gem.summary = %Q{Helper module for constructing tree data structures}
gem.description = %Q{Module that defines a tree data structure based on a path.}
gem.authors = ["Brian Durand"]
gem.email = ["mdobrota@tribune.com", "ddpr@tribune.com"]
gem.files = FileList["lib/**/*", "spec/**/*", "README.rdoc", "Rakefile", "License.txt"].to_a
gem.has_rdoc = true
gem.rdoc_options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc'
gem.extra_rdoc_files = ["README.rdoc"]
gem.add_dependency('activerecord')
gem.add_development_dependency('rspec', '>= 2.0.0')
gem.add_development_dependency('sqlite3')
gem.add_development_dependency('activerecord')
end
Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
end