diff options
| author | Adam Vandenberg | 2013-04-17 10:01:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-17 10:01:38 -0700 |
| commit | c9cd3008e236a15bb1f6c3f560056c1e7e6bd659 (patch) | |
| tree | cb48ee6e3e5682f2d7d7e51b7c20565426e58487 /Library/Homebrew/requirements.rb | |
| parent | 53edc7535845fb1bc00656e6ff3c729fd686a784 (diff) | |
| download | homebrew-c9cd3008e236a15bb1f6c3f560056c1e7e6bd659.tar.bz2 | |
Add :hg build requirement.
Closes #19074.
Diffstat (limited to 'Library/Homebrew/requirements.rb')
| -rw-r--r-- | Library/Homebrew/requirements.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index f226db839..6ebf3f6a4 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -107,3 +107,17 @@ class ArchRequirement < Requirement "This formula requires an #{@arch} architecture." end end + +class MercurialDependency < Requirement + fatal true + + satisfy { which('hg') } + + def message; <<-EOS.undent + Mercurial is needed to install this software. + + You can install this with Homebrew using: + brew install mercurial + EOS + end +end |
