aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compatibility.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compatibility.rb')
-rw-r--r--Library/Homebrew/compatibility.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/compatibility.rb b/Library/Homebrew/compatibility.rb
index 8e1a028de..5bc76d3ff 100644
--- a/Library/Homebrew/compatibility.rb
+++ b/Library/Homebrew/compatibility.rb
@@ -70,4 +70,11 @@ class Formula
name
end
end
+
+ # 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
+ handle_llvm_failure FailsWithLLVM.new(msg, data)
+ end
+
end