Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose is to run an installation script, providing cleaner syntax than
the current method, which is to use
caskroom_only
followed byafter_install
.(example adobe-air.rb).
This PR is in almost working form. It is marked WIP becausetests are failingFIXED?installer
doesn't seem like the right name for the stanzainstall_script
for consistency withuninstall :script
install :script
would be even more consistent, but the overlap with an existing stanza name would make a transition difficultwe are changinginstall
topkg
, so that would reduce one source of confusion. But the Apple-provided CLI tool for installingpkg
files is also calledinstaller
.what is a better name?install_script
<----- consistent withuninstall :script
install_command
?installer_script
?installer_command
?custom_installer
?cli_installer
?References: #4688