diff options
| author | Adam Vandenberg | 2011-03-21 14:23:28 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-25 23:31:28 -0700 |
| commit | 145bafbc4e72bcc3c8bc6b0f0414ab317f1e8459 (patch) | |
| tree | 5da81608342752bc144bb1509b4041c2a2699b44 /Library/Homebrew/compatibility.rb | |
| parent | 007b9e72d513c515f216cde4ae59ea37f826277b (diff) | |
| download | brew-145bafbc4e72bcc3c8bc6b0f0414ab317f1e8459.tar.bz2 | |
Move 'fails_with_llvm' into formula DSL.
Existing method moved to compatibility layer.
Diffstat (limited to 'Library/Homebrew/compatibility.rb')
| -rw-r--r-- | Library/Homebrew/compatibility.rb | 7 |
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 |
