aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorXu Cheng2016-03-07 18:07:09 +0800
committerXu Cheng2016-03-07 19:43:46 +0800
commita3023c3ce837f295bfb1e70988909433a9a70708 (patch)
tree56f7d75b9fc9eeb434d369bcd654f9e2ff23bcba /Library/Homebrew/compat
parent28f3dae8cd5bf975121090cb58262b8344a3917c (diff)
downloadbrew-a3023c3ce837f295bfb1e70988909433a9a70708.tar.bz2
add compat/tap
To keep backward compatibility for API name changing.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/tap.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/tap.rb b/Library/Homebrew/compat/tap.rb
new file mode 100644
index 000000000..fff6797f0
--- /dev/null
+++ b/Library/Homebrew/compat/tap.rb
@@ -0,0 +1,9 @@
+require "tap"
+
+class Tap
+ def core_formula_repository?
+ core_tap?
+ end
+end
+
+CoreFormulaRepository = CoreTap