token_reference.md: remove not-applied older rules (#83966)
This commit is contained in:
parent
ec9b54ff9c
commit
39316e6bc4
|
@ -19,11 +19,6 @@ Software vendors are often inconsistent with their naming. By enforcing strict n
|
|||
* Minimize renaming events
|
||||
* Unambiguously boil down the name of the software into a unique identifier
|
||||
|
||||
The token itself should be:
|
||||
|
||||
* Suitable for use as a filename
|
||||
* Mnemonic
|
||||
|
||||
Details of software names and brands will inevitably be lost in the conversion to a minimal token. To capture the vendor’s full name for a distribution, use the [`name`](https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/name.md) within a Cask. `name` accepts an unrestricted UTF-8 string.
|
||||
|
||||
## Finding the Simplified Name of the Vendor’s Distribution
|
||||
|
@ -103,8 +98,6 @@ To convert the App’s Simplified Name (above) to a token:
|
|||
* Collapse a series of multiple hyphens into one hyphen.
|
||||
* Delete a leading or trailing hyphen.
|
||||
|
||||
We avoid defining Cask tokens in the repository which differ only by the placement of hyphens. Prepend the vendor name if needed to disambiguate the token.
|
||||
|
||||
## Cask Filenames
|
||||
|
||||
Casks are stored in a Ruby file named after the token, with the file extension `.rb`.
|
||||
|
|
Loading…
Reference in New Issue