forked from chrisk/git-pair
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
37 lines (31 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "edgecase-git-pair"
gem.summary = "Configure git to commit as more than one author"
gem.description = "A git porcelain for pair programming. Changes " +
"git-config's user.name and user.email settings so you " +
"can commit as more than one author."
gem.email = "[email protected]"
gem.homepage = "http://github.com/edgecase/git-pair"
gem.authors = ["Chris Kampmeier", "Adam McCrea", "Jon Distad"]
gem.add_development_dependency "cucumber", ">= 0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)
task :features => :check_dependencies
rescue LoadError
task :features do
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end
end
task :default => :features
# Don't print commands when shelling out (for example, running Cucumber)
RakeFileUtils.verbose(false)