homebrew-core/Formula/git-hg.rb
2012-01-22 18:40:29 -08:00

16 lines
346 B
Ruby

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