diff options
| author | Jack Nagel | 2013-09-28 16:37:05 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-28 16:37:05 -0500 |
| commit | a961e1e13421e0bb4d35d6f105bac47ad62560c3 (patch) | |
| tree | 3d3b03f551a289427fe51ffd4db9ba4f31983613 /Library/Homebrew/requirements.rb | |
| parent | 0351c3e0b8a3dca8697f72edf856cbc54ef33c30 (diff) | |
| download | homebrew-a961e1e13421e0bb4d35d6f105bac47ad62560c3.tar.bz2 | |
Infer dependencies from download strategies and URLs
Closes #20849.
Closes #22871.
Diffstat (limited to 'Library/Homebrew/requirements.rb')
| -rw-r--r-- | Library/Homebrew/requirements.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index f6c64a090..b195af98e 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -93,3 +93,9 @@ class MercurialDependency < Requirement satisfy { which('hg') } end + +class GitDependency < Requirement + fatal true + default_formula 'git' + satisfy { which('git') } +end |
