-
-
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
Convert 7 Casks to depends_on :macos
#7760
Convert 7 Casks to depends_on :macos
#7760
Conversation
@vitorgalvao I left these lower down near the |
@@ -23,11 +23,11 @@ | |||
|
|||
app 'Deeper.app' | |||
|
|||
caveats do | |||
os_version_only('10.4', '10.5', '10.6', '10.7', '10.8', '10.9', '10.10') | |||
depends_on :macos => %w{10.4 10.5 10.6 10.7 10.8 10.9 10.10} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not '>= 10.4'
instead? Same for maintenance
. Are we preferring numbers over names? It’s the same to me, but I was going to start using the version symbols.
I'll switch them to the symbols. For those two Casks, every release is tailored to a single OS X release, as they do some very system-specific fiddling. So, nobody should install the 10.10 version on 10.11. I was going to revise the |
from caveats `os_version_only`.
da3b8ff
to
f3ef189
Compare
:lion | ||
:mountain_lion | ||
:mavericks | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not also include :yosemite
? Same for maintenance.rb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
from caveats `os_version_only`. Also tweak unrelated version-specific caveat.
from caveats `os_version_only`. Also tweak unrelated version-specific caveat.
from caveats `os_version_only`.
from caveats `os_version_only`.
from caveats `os_version_only`.
from caveats `os_version_only`.
f3ef189
to
c4122c0
Compare
Convert 7 Casks to `depends_on :macos`
It is OK to use this feature, even though it is very new, because forward-compatibility code has been in release for some time.