From 39316e6bc411eb8c58e8c006a5f9435ee2fe4b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Thu, 11 Jun 2020 00:27:43 +0100 Subject: [PATCH] token_reference.md: remove not-applied older rules (#83966) --- doc/cask_language_reference/token_reference.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doc/cask_language_reference/token_reference.md b/doc/cask_language_reference/token_reference.md index d11e021f4d9..008835f2a2d 100644 --- a/doc/cask_language_reference/token_reference.md +++ b/doc/cask_language_reference/token_reference.md @@ -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`.