Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (32 sloc) 1.15 KB
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "git-pair"
gem.version = File.read("lib/git-pair/VERSION").strip
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 = "chris@kampers.net"
gem.homepage = "http://github.com/chrisk/git-pair"
gem.authors = ["Chris Kampmeier"]
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)