aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-hg.rb
blob: ac2a4b6d9e2f9c76988cebce30e45ff098da391a (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 `/usr/bin/which hg`.size > 0
      puts "You may need to install Mercurial before using this software:"
      puts "  brew install mercurial"
    end

    prefix.install Dir['*']
  end
end