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

remove legacy docs from CASK_LANGUAGE_REFERENCE.md #7531

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions doc/CASK_LANGUAGE_REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Cask Domain-Specific Language (DSL) which are not needed in most cases.
* [Required Stanzas](#required-stanzas)
* [At Least One Artifact Stanza Is Also Required](#at-least-one-artifact-stanza-is-also-required)
* [Optional Stanzas](#optional-stanzas)
* [Legacy Stanzas](#legacy-stanzas)
* [Legacy Forms](#legacy-forms)
* [Conditional Statements](#conditional-statements)
* [Header Line Details](#header-line-details)
* [Caveats Stanza Details](#caveats-stanza-details)
Expand Down Expand Up @@ -122,35 +120,6 @@ Each Cask must declare one or more *artifacts* (i.e. something to install)
| `stage_only` | no | `true`. Assert that the Cask contains no activatable artifacts.


## Legacy Stanzas

The following stanzas are no longer in use.

| name | meaning |
| ------------------------- | ----------- |
| `after_install` | an obsolete alternative to `postflight`
| `after_uninstall` | an obsolete alternative to `uninstall_postflight`
| `before_install` | an obsolete alternative to `preflight`
| `before_uninstall` | an obsolete alternative to `uninstall_preflight`
| `container_type` | an obsolete alternative to `container :type =>`
| `depends_on_formula` | an obsolete alternative to `depends_on :formula =>`
| `install` | an obsolete alternative to `pkg`
| `link` | an obsolete alternative to `artifact`
| `no_checksum` | an obsolete alternative to `sha256 :no_check`
| `caskroom_only` | an obsolete alternative to `stage_only`


## Legacy Forms

The following forms are no longer in use.

| name | meaning |
| ------------------------- | ----------- |
| `uninstall :files` | an obsolete alternative to `uninstall :delete`
| `version 'latest'` | an obsolete alternative to `version :latest`
| `manual_installer(path)` | when occurring within `caveats`, an obsolete alternative to `installer :script`


## Conditional Statements

### Efficiency
Expand Down