diff options
| author | Jack Nagel | 2012-09-10 16:16:08 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-09-10 16:16:58 -0500 |
| commit | d4cfa1c0c5e68c147b790604e99b0da3c91ce689 (patch) | |
| tree | a438a2bcaf3b4996b967f36cf9fd81c3f944ea69 /Library | |
| parent | 59d5a246e7d7d86ee3535bc72a2fcef320ae6e90 (diff) | |
| download | brew-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.rb | 2 |
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 |
