aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorJack Nagel2012-09-10 16:16:08 -0500
committerJack Nagel2012-09-10 16:16:58 -0500
commita5bdb57a409a8cb805704da1e70950b2bd26fda8 (patch)
treeebe09bf55db2c8c11b322d2376f7129486305260 /Library/Homebrew/compat
parent6b8d25f2d21a3c19ecb0809d619999137cb94565 (diff)
downloadhomebrew-a5bdb57a409a8cb805704da1e70950b2bd26fda8.tar.bz2
Add deprecation warning to non-DSL fails_with_llvm
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/compatibility.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb
index b6e01b290..41874e063 100644
--- a/Library/Homebrew/compat/compatibility.rb
+++ b/Library/Homebrew/compat/compatibility.rb
@@ -75,6 +75,8 @@ class Formula
# This used to be called in "def install", but should now be used
# up in the DSL section.
def fails_with_llvm msg=nil, data=nil
+ opoo "Calling fails_with_llvm in the install method is deprecated"
+ puts "Use the fails_with DSL instead."
FailsWithLLVM.new(msg, data).handle_failure
end