2018-02-20 11:13:13 -08:00
|
|
|
module OS
|
|
|
|
# Define OS::Mac on Linux for formula API compatibility.
|
|
|
|
module Mac
|
|
|
|
module_function
|
|
|
|
|
|
|
|
::MacOS = self # rubocop:disable Naming/ConstantName
|
|
|
|
|
2018-08-13 23:38:48 -07:00
|
|
|
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
|
|
|
|
|
2018-02-20 11:13:13 -08:00
|
|
|
def version
|
|
|
|
Version::NULL
|
|
|
|
end
|
|
|
|
|
|
|
|
def full_version
|
|
|
|
Version::NULL
|
|
|
|
end
|
|
|
|
|
|
|
|
module Xcode
|
|
|
|
module_function
|
|
|
|
|
|
|
|
def version
|
|
|
|
Version::NULL
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|