aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-09-10 16:16:08 -0500
committerJack Nagel2012-09-10 16:16:58 -0500
commitd4cfa1c0c5e68c147b790604e99b0da3c91ce689 (patch)
treea438a2bcaf3b4996b967f36cf9fd81c3f944ea69 /Library
parent59d5a246e7d7d86ee3535bc72a2fcef320ae6e90 (diff)
downloadbrew-d4cfa1c0c5e68c147b790604e99b0da3c91ce689.tar.bz2
Add deprecation warning to non-DSL fails_with_llvm
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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