mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
doc: tweaks to CONTRIBUTING.md
- subheads so we can link directly to CONTRIBUTING.md#cask-stanzas - clarification on naming `pkg` Casks - fix repetitive language
This commit is contained in:
parent
02277a1aa7
commit
2375c10504
1 changed files with 9 additions and 2 deletions
|
|
@ -27,6 +27,8 @@ $ git remote add "$github_user" "https://github.com/$github_user/homebrew-cask"
|
|||
|
||||
Making a Cask is easy: a Cask is a small Ruby file.
|
||||
|
||||
### Examples
|
||||
|
||||
Here's a Cask for `Alfred.app` as an example. Note that you may repeat
|
||||
the `link` stanza as many times as you need, to create multiple links:
|
||||
|
||||
|
|
@ -54,6 +56,8 @@ class Vagrant < Cask
|
|||
end
|
||||
```
|
||||
|
||||
### The `brew cask create` Command
|
||||
|
||||
To get started, use the handy dandy `brew cask create` command.
|
||||
|
||||
```bash
|
||||
|
|
@ -75,6 +79,8 @@ class MyNewCask < Cask
|
|||
end
|
||||
```
|
||||
|
||||
### Cask Stanzas
|
||||
|
||||
Fill in the following stanzas for your Cask:
|
||||
|
||||
| name | value |
|
||||
|
|
@ -105,7 +111,7 @@ Additional stanzas you might need for special use-cases:
|
|||
| `nested_container` | relative path to an inner container that must be extracted before moving on with the installation; this allows us to support dmg inside tar, zip inside dmg, etc.
|
||||
| `caveats` | a string or Ruby block providing the user with Cask-specific information at install time (see also [Caveats Details](doc/CASK_LANGUAGE_REFERENCE.md#caveats-details))
|
||||
|
||||
Additional special-use stanzas are listed at [Optional Stanzas](doc/CASK_LANGUAGE_REFERENCE.md#optional-stanzas) and [Legacy Stanzas](doc/CASK_LANGUAGE_REFERENCE.md#legacy-stanzas).
|
||||
Even more special-use stanzas are listed at [Optional Stanzas](doc/CASK_LANGUAGE_REFERENCE.md#optional-stanzas) and [Legacy Stanzas](doc/CASK_LANGUAGE_REFERENCE.md#legacy-stanzas).
|
||||
|
||||
|
||||
### SourceForge URLs
|
||||
|
|
@ -162,7 +168,8 @@ We try to maintain consistent naming so everything stays clean and predictable.
|
|||
##### Canonical Names of `pkg`-based Installers
|
||||
|
||||
* The Canonical Name of a `pkg` may be more tricky to determine than that
|
||||
of an App. If so, just create the best name you can, based on the
|
||||
of an App. If a `pkg` installs an App, then use that App name with the
|
||||
rules above. If not, just create the best name you can, based on the
|
||||
author's web page.
|
||||
|
||||
#### Cask Name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue