add Tap#core_formula_repository?

This commit is contained in:
Xu Cheng 2015-12-07 14:12:57 +08:00
parent 9f7a383017
commit 5b435db3bf

View File

@ -108,6 +108,11 @@ class Tap
path.directory? path.directory?
end end
# @private
def core_formula_repository?
false
end
# install this {Tap}. # install this {Tap}.
# #
# @param [Hash] options # @param [Hash] options
@ -365,6 +370,11 @@ class CoreFormulaRepository < Tap
remote != "https://github.com/#{user}/#{repo}.git" remote != "https://github.com/#{user}/#{repo}.git"
end end
# @private
def core_formula_repository?
true
end
# @private # @private
def formula_dir def formula_dir
HOMEBREW_LIBRARY/"Formula" HOMEBREW_LIBRARY/"Formula"