2013-05-09 23:53:26 -05:00
|
|
|
class Formula
|
2015-08-03 13:09:07 +01:00
|
|
|
def fails_with_llvm(_msg = nil, _data = nil)
|
2013-05-09 23:53:26 -05:00
|
|
|
opoo "Calling fails_with_llvm in the install method is deprecated"
|
|
|
|
puts "Use the fails_with DSL instead"
|
|
|
|
end
|
|
|
|
|
2015-08-03 13:09:07 +01:00
|
|
|
def self.fails_with_llvm(msg = nil, data = {})
|
2014-02-24 23:26:11 -05:00
|
|
|
data = msg if Hash === msg
|
|
|
|
fails_with(:llvm) { build(data.delete(:build).to_i) }
|
2013-05-09 23:53:26 -05:00
|
|
|
end
|
|
|
|
end
|