mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
minor typo fixes
This commit is contained in:
parent
172f55f7cd
commit
d400b151e7
@ -47,7 +47,7 @@ module Homebrew
|
|||||||
print "\a"
|
print "\a"
|
||||||
|
|
||||||
# Use an extra newline and bold to avoid this being missed.
|
# Use an extra newline and bold to avoid this being missed.
|
||||||
ohai "Homebrew has enabled anonymous aggregate formulae and cask analytics."
|
ohai "Homebrew has enabled anonymous aggregate formula and cask analytics."
|
||||||
puts <<~EOS
|
puts <<~EOS
|
||||||
#{Tty.bold}Read the analytics documentation (and how to opt-out) here:
|
#{Tty.bold}Read the analytics documentation (and how to opt-out) here:
|
||||||
#{Formatter.url("https://docs.brew.sh/Analytics")}#{Tty.reset}
|
#{Formatter.url("https://docs.brew.sh/Analytics")}#{Tty.reset}
|
||||||
|
@ -55,7 +55,7 @@ class DescriptionCacheStore < CacheStore
|
|||||||
renamings.map(&:first))
|
renamings.map(&:first))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Use an array of formulae names to update the `DescriptionCacheStore`.
|
# Use an array of formula names to update the `DescriptionCacheStore`.
|
||||||
#
|
#
|
||||||
# @param formula_names [Array] the formulae to update
|
# @param formula_names [Array] the formulae to update
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
@ -69,7 +69,7 @@ class DescriptionCacheStore < CacheStore
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Use an array of formulae names to delete them from the `DescriptionCacheStore`.
|
# Use an array of formula names to delete them from the `DescriptionCacheStore`.
|
||||||
#
|
#
|
||||||
# @param formula_names [Array] the formulae to delete
|
# @param formula_names [Array] the formulae to delete
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
|
@ -71,16 +71,16 @@ don’t want those things in Homebrew. Encourage upstream projects to build and
|
|||||||
### Stuff that builds a GUI by default (but doesn't have to)
|
### Stuff that builds a GUI by default (but doesn't have to)
|
||||||
Make it build a command-line tool or a library by default and, if the GUI is useful and would be widely used, also build the GUI. Don’t build X11/XQuartz GUIs as they are a bad user experience on macOS.
|
Make it build a command-line tool or a library by default and, if the GUI is useful and would be widely used, also build the GUI. Don’t build X11/XQuartz GUIs as they are a bad user experience on macOS.
|
||||||
|
|
||||||
### Stuff that doesn't build with the latest, stable Xcode's Clang
|
### Stuff that doesn't build with the latest, stable Xcode Clang
|
||||||
Clang is the default C/C++ compiler on macOS (and has been for a long time). Software that doesn't build with it hasn't been adequately ported to macOS.
|
Clang is the default C/C++ compiler on macOS (and has been for a long time). Software that doesn't build with it hasn't been adequately ported to macOS.
|
||||||
|
|
||||||
### Stuff that requires heavy manual pre/post-install intervention
|
### Stuff that requires heavy manual pre/post-install intervention
|
||||||
We're a package manager so we want to do things like resolve dependencies and set up applications for our users. If things require too much manual intervention then they aren't useful in a package manager.
|
We're a package manager so we want to do things like resolve dependencies and set up applications for our users. If things require too much manual intervention then they aren't useful in a package manager.
|
||||||
|
|
||||||
## Stuff that requires vendored versions of homebrew formulae
|
## Stuff that requires vendored versions of Homebrew formulae
|
||||||
Homebrew formula should avoid having multiple, separate, upstream projects bundled together in a single package to avoid having shipping outdated/insecure versions of software that is already a formula.
|
Homebrew formulae should avoid having multiple, separate, upstream projects bundled together in a single package to avoid shipping outdated/insecure versions of software that is already a formula.
|
||||||
|
|
||||||
For more info see [Debian](https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles) and [Fedora's](https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling) stance on this.
|
For more info see [Debian's](https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles) and [Fedora's](https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling) stances on this.
|
||||||
|
|
||||||
### Sometimes there are exceptions
|
### Sometimes there are exceptions
|
||||||
Even if all criteria are met we may not accept the formula.
|
Even if all criteria are met we may not accept the formula.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user