brew/Library/Homebrew/compat/build_options.rb
Mike McQuaid ba3c46d24f More deprecations.
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00

12 lines
233 B
Ruby

class BuildOptions
def build_32_bit?
odeprecated "build.build_32_bit?"
include?("32-bit") && option_defined?("32-bit")
end
def build_bottle?
odeprecated "build.build_bottle?", "build.bottle?"
bottle?
end
end