diff options
| author | Jack Nagel | 2014-02-28 15:58:20 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-02-28 16:09:36 -0600 |
| commit | d5255b87eee44da74918e007a55631177b954767 (patch) | |
| tree | fca97a2c64f0bb07b1d9aa29cdea1784ed412c3e /Library | |
| parent | 7c462c64db9309b8ab84a86af47d42ef59535bd2 (diff) | |
| download | homebrew-d5255b87eee44da74918e007a55631177b954767.tar.bz2 | |
Automatically install taps for cross-tap dependencies
Closes #27099.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index ef18635fb..43d84d1eb 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -10,6 +10,7 @@ require 'caveats' require 'cleaner' require 'formula_cellar_checks' require 'install_renamed' +require 'cmd/tap' class FormulaInstaller include FormulaCellarChecks @@ -44,6 +45,9 @@ class FormulaInstaller def verify_deps_exist f.recursive_dependencies.map(&:to_formula) + rescue TapFormulaUnavailableError => e + Homebrew.install_tap(e.user, e.repo) + retry rescue FormulaUnavailableError => e e.dependent = f.name raise |
