-
Notifications
You must be signed in to change notification settings - Fork 46
/
Rakefile
48 lines (41 loc) · 1.34 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
48
require 'rubygems'
require 'rake'
$LOAD_PATH.unshift('lib')
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "git-pivotal"
gemspec.summary = "A collection of git utilities to ease integration with Pivotal Tracker"
gemspec.description = "A collection of git utilities to ease integration with Pivotal Tracker"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/trydionel/git-pivotal"
gemspec.authors = ["Jeff Tucker", "Sam Stokes"]
gemspec.add_dependency "builder"
gemspec.add_dependency "pivotal-tracker", "~>0.3.1"
gemspec.add_development_dependency "rspec", "~>2.5.0"
gemspec.add_development_dependency "rcov"
gemspec.add_development_dependency "cucumber", "~>0.9.2"
gemspec.add_development_dependency "aruba", "~>0.2.3"
end
Jeweler::GemcutterTasks.new
rescue
puts "Jeweler not available. Install it with: gem install jeweler"
end
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--color']
t.rcov = true
t.rcov_opts = ['--exclude', 'gems']
end
rescue LoadError => e
puts "RSpec not installed"
end
begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "features --format pretty"
end
rescue LoadError => e
puts "Cucumber not installed"
end