forked from trydionel/git-pivotal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
35 lines (29 loc) · 1.03 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
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
$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 "nokogiri"
gemspec.add_dependency "rest-client", "~>1.4.0"
gemspec.add_dependency "builder"
gemspec.add_development_dependency "rspec"
gemspec.add_development_dependency "rcov"
gemspec.add_development_dependency "mocha"
end
Jeweler::GemcutterTasks.new
rescue
puts "Jeweler not available. Install it with: gem install jeweler"
end
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--color']
t.rcov = true
t.rcov_opts = ['--exclude', 'gems']
end