Skip to content
Snippets Groups Projects
Commit 57a81f9e authored by Damien Pollet's avatar Damien Pollet Committed by Tim D. Smith
Browse files

Clarify case conventions in formula naming


If a formula's class name contains an uppercase-spelled acronym, the
messages given by `brew install` can be pretty confusing (it recommends
a formula named exactly the same…)

Closes Homebrew/homebrew#49639.

Signed-off-by: default avatarTim D. Smith <git@tim-smith.us>
parent e404a71e
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,7 @@ When importing classes, Homebrew will require the formula and then create an ins
* `foo-bar.rb` => `FooBar`
* `foobar.rb` => `Foobar`
Thus, if you change the name of the class, you must also rename the file. Filenames should be all lowercase.
Thus, if you change the name of the class, you must also rename the file. Filenames should be all lowercase, and class names should be the strict CamelCase equivalent, e.g. formulae `gnu-go` and `sdl_mixer` become classes `GnuGo` and `SdlMixer`, even if part of their name is an acronym.
Add aliases by creating symlinks in `Library/Aliases`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment