-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if Mac.OS
requires the currently running OS X version to be included in the options
#7815
Comments
It's a bug. The One immediate answer is that we should allow a special value such as A longer term answer is a EDIT: the relevant open issue on |
For development purposes, it would also be nice to have a convenient way of overriding the OS X release, architecture, etc, at the CLI. |
if Mac.OS
requires latest OS X version to be included in the optionsif Mac.OS
requires the currently running OS X version to be included in the options
Here’s an oddity I’ve noticed when working on #7813. Not sure if a bug or a feature.
When using
if MacOS.version
, one of the options must refer to the latest OS X version (:yosemite
) and have a validurl
or we get the above error. This means it’s a requirement to have the equivalent toelsif > any_version_except_:yosemite
,elsif <= :yosemite
,elsif == :yosemite
, orelse
, and those must have a validurl
. If any of the first options are included,else
can be safely excluded.This can be seen as feature in that it tries to make sure the
if
logic addresses the latest version of the OS, but it can also be seen as a bug in cases where a version for Yosemite does not exist.The text was updated successfully, but these errors were encountered: