homebrew-core/Formula/git-hg.rb

17 lines
328 B
Ruby
Raw Normal View History

require 'formula'
class GitHg < Formula
2011-05-27 05:02:55 +00:00
head 'https://github.com/offbytwo/git-hg.git'
homepage 'http://offbytwo.com/git-hg/'
def install
2012-03-03 23:50:27 +00:00
unless which 'hg'
puts "You may need to install Mercurial before using this software:"
puts " brew install mercurial"
end
prefix.install Dir['*']
end
end