mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
12 lines
317 B
Ruby
12 lines
317 B
Ruby
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"
|
|
end
|
|
|
|
def self.fails_with_llvm msg=nil, data={}
|
|
data = msg if Hash === msg
|
|
fails_with(:llvm) { build(data.delete(:build).to_i) }
|
|
end
|
|
end
|