aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements.rb
diff options
context:
space:
mode:
authorJack Nagel2013-09-28 16:37:05 -0500
committerJack Nagel2013-09-28 16:37:05 -0500
commita961e1e13421e0bb4d35d6f105bac47ad62560c3 (patch)
tree3d3b03f551a289427fe51ffd4db9ba4f31983613 /Library/Homebrew/requirements.rb
parent0351c3e0b8a3dca8697f72edf856cbc54ef33c30 (diff)
downloadhomebrew-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.rb6
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