blob: d7cc3e7cca1fa03527159ac0af897ce775cf8911 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | 
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 fails_with_llvm?
    fails_with? :llvm
  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
  |