Skip to content

Commit

Permalink
Merge pull request #7531 from rolandwalker/remove_legacy_docs_cask_la…
Browse files Browse the repository at this point in the history
…ng_ref

remove legacy docs from CASK_LANGUAGE_REFERENCE.md
  • Loading branch information
ndr committed Nov 22, 2014
2 parents 5b44819 + a38419d commit 573c6c3
Showing 1 changed file with 0 additions and 31 deletions.
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

0 comments on commit 573c6c3

Please sign in to comment.