Skip to content
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

DSL: add install_script stanza #4951

Merged
merged 6 commits into from
Jul 2, 2014

Conversation

rolandwalker
Copy link
Contributor

The purpose is to run an installation script, providing cleaner syntax than
the current method, which is to use caskroom_only followed by after_install.
(example adobe-air.rb).

This PR is in almost working form. It is marked WIP because

  • tests are failing FIXED?
  • installer doesn't seem like the right name for the stanza
    • Settled on install_script for consistency with uninstall :script
    • install :script would be even more consistent, but the overlap with an existing stanza name would make a transition difficult
    • we are changing install to pkg, so that would reduce one source of confusion. But the Apple-provided CLI tool for installing pkg files is also called installer.
    • what is a better name?
      • install_script <----- consistent with uninstall :script
      • install_command ?
      • installer_script ?
      • installer_command ?
      • custom_installer ?
      • cli_installer ?

References: #4688

@muescha
Copy link
Contributor

muescha commented Jun 17, 2014

install
command
setup
installation

@rolandwalker rolandwalker changed the title DSL: add installer stanza (WIP) DSL: add install_command stanza (WIP) Jun 19, 2014
@rolandwalker rolandwalker changed the title DSL: add install_command stanza (WIP) DSL: add install_script stanza (WIP) Jun 19, 2014
so that it can be called from multiple stanzas
as parameters.  Accept overridden keys when submitted by the
caller, but warn that they are ignored.
@rolandwalker rolandwalker changed the title DSL: add install_script stanza (WIP) DSL: add install_script stanza Jun 28, 2014
rolandwalker added a commit that referenced this pull request Jul 2, 2014
@rolandwalker rolandwalker merged commit 3932c4d into Homebrew:master Jul 2, 2014
@rolandwalker rolandwalker deleted the add_installer_stanza branch July 2, 2014 22:29
@rolandwalker rolandwalker mentioned this pull request Aug 18, 2014
@rolandwalker rolandwalker mentioned this pull request Sep 11, 2014
9 tasks
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants