-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
48 lines (41 loc) · 1.47 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
40
41
42
43
44
45
46
47
require 'rubygems'
require 'bundler'
Bundler.setup(:default, :test)
require 'rspec'
require 'rspec/core/rake_task.rb'
require 'jeweler'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
gem.name = "pivotal_doc"
gem.summary = %Q{A release documentation generator for pivotaltracker.com}
gem.description = %Q{
Automated release notes for apps hosted on pivotaltracker.com.
Allows release notes to be generated for any project on pivotaltracker.com by retrieving the latest iteration for the specified project and displaying the completed features, bugs, and chores.
}
gem.email = "[email protected]"
gem.homepage = "http://github.com/timo3377/pivotal_doc"
gem.authors = ["Tim Linquist"]
gem.files.include %w(templates/ .gitignore assets/ ext/ lib/pivotal_doc/)
gem.add_dependency "pivotal-tracker", ">= 0.2.1"
gem.add_dependency "haml"
gem.add_development_dependency "rspec"
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end
Rspec::Core::RakeTask.new(:spec)
Rspec::Core::RakeTask.new(:rcov) do |spec|
spec.rcov = true
end
task :default => :spec