diff options
| author | Xu Cheng | 2015-12-07 14:12:57 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-09 16:56:59 +0800 |
| commit | 5b435db3bfc48d8bb41a5773cf6d7ae8970a55e4 (patch) | |
| tree | 8c96dc3bbe82be56aaaf834a5369c85a1afeaec8 | |
| parent | 9f7a383017d3ed3cb4aedfbcdb58fd03eaa4599c (diff) | |
| download | brew-5b435db3bfc48d8bb41a5773cf6d7ae8970a55e4.tar.bz2 | |
add Tap#core_formula_repository?
| -rw-r--r-- | Library/Homebrew/tap.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 58474c061..babebecc5 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -108,6 +108,11 @@ class Tap path.directory? end + # @private + def core_formula_repository? + false + end + # install this {Tap}. # # @param [Hash] options @@ -366,6 +371,11 @@ class CoreFormulaRepository < Tap end # @private + def core_formula_repository? + true + end + + # @private def formula_dir HOMEBREW_LIBRARY/"Formula" end |
