aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-hg.rb
blob: 153062fee812ff38f9d660e4ad76e5cc98ce9db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class GitHg < Formula
  head 'https://github.com/offbytwo/git-hg.git'
  homepage 'http://offbytwo.com/git-hg/'

  def install
    unless which 'hg'
      puts "You may need to install Mercurial before using this software:"
      puts "  brew install mercurial"
    end

    prefix.install Dir['*']
  end
end