Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 39 lines (32 sloc) 1.181 kb
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
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)

Something went wrong with that request. Please try again.