os/mac: support Mojave, drop El Capitan

This commit is contained in:
FX Coudert 2018-09-20 12:49:34 +02:00
parent 2901c36798
commit 0967c3e549

View File

@ -31,21 +31,21 @@ module OS
def latest_sdk_version def latest_sdk_version
# TODO: bump version when new Xcode macOS SDK is released # TODO: bump version when new Xcode macOS SDK is released
Version.new "10.13" Version.new "10.14"
end end
def latest_stable_version def latest_stable_version
# TODO: bump version when new macOS is released and also update # TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and # references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/master/install # https://github.com/Homebrew/install/blob/master/install
Version.new "10.13" Version.new "10.14"
end end
def outdated_release? def outdated_release?
# TODO: bump version when new macOS is released and also update # TODO: bump version when new macOS is released and also update
# references in docs/Installation.md and # references in docs/Installation.md and
# https://github.com/Homebrew/install/blob/master/install # https://github.com/Homebrew/install/blob/master/install
version < "10.11" version < "10.12"
end end
def prerelease? def prerelease?