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