diff options
| author | Mike McQuaid | 2016-07-16 22:15:04 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-07-29 21:21:29 -0600 |
| commit | bf13eb9b597471b045395d0983dc48d0659dd935 (patch) | |
| tree | f46725717ef71c5af69b7a92bd0268f9112dd9f6 /Library | |
| parent | 369fc93479006dd73207d8bd6f5e9b839b867463 (diff) | |
| download | brew-bf13eb9b597471b045395d0983dc48d0659dd935.tar.bz2 | |
compat/fails_with_llvm: cleanup style.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/compat/fails_with_llvm.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/compat/fails_with_llvm.rb b/Library/Homebrew/compat/fails_with_llvm.rb index 2c7df721d..4e8b94b03 100644 --- a/Library/Homebrew/compat/fails_with_llvm.rb +++ b/Library/Homebrew/compat/fails_with_llvm.rb @@ -1,11 +1,9 @@ class Formula 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" + odeprecated "Formula#fails_with_llvm in install" end - def self.fails_with_llvm(msg = nil, data = {}) - data = msg if Hash === msg - fails_with(:llvm) { build(data.delete(:build).to_i) } + def self.fails_with_llvm(_msg = nil, _data = {}) + odeprecated "Formula.fails_with_llvm" end end |
