We use formulae as the plural of formula.
This commit is contained in:
parent
bb8c22c90d
commit
21f1efcba6
@ -33,7 +33,7 @@ _1st_arguments=(
|
|||||||
'list:list files in a formula or not-installed formulae'
|
'list:list files in a formula or not-installed formulae'
|
||||||
'log:git commit log for a formula'
|
'log:git commit log for a formula'
|
||||||
'missing:check all installed formuale for missing dependencies.'
|
'missing:check all installed formuale for missing dependencies.'
|
||||||
'outdated:list formulas for which a newer version is available'
|
'outdated:list formulae for which a newer version is available'
|
||||||
'prune:remove dead links'
|
'prune:remove dead links'
|
||||||
'remove:remove a formula'
|
'remove:remove a formula'
|
||||||
'search:search for a formula (/regex/ or string)'
|
'search:search for a formula (/regex/ or string)'
|
||||||
@ -41,7 +41,7 @@ _1st_arguments=(
|
|||||||
'unlink:unlink a formula'
|
'unlink:unlink a formula'
|
||||||
'update:freshen up links'
|
'update:freshen up links'
|
||||||
'upgrade:upgrade outdated formulae'
|
'upgrade:upgrade outdated formulae'
|
||||||
'uses:show formulas which depend on a formula'
|
'uses:show formulae which depend on a formula'
|
||||||
)
|
)
|
||||||
|
|
||||||
local expl
|
local expl
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Outputs formulas that are installed but are not a dependency for
|
# Outputs formulae that are installed but are not a dependency for
|
||||||
# any other installed formula.
|
# any other installed formula.
|
||||||
# See: http://github.com/mxcl/homebrew/issues/issue/1438
|
# See: http://github.com/mxcl/homebrew/issues/issue/1438
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ get '/formula/:name' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def installed_formulas
|
def installed_formulae
|
||||||
Formula.select{|formula| formula.installed?}
|
Formula.select{|formula| formula.installed?}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ get '/installed' do
|
|||||||
s = <<-HTML
|
s = <<-HTML
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Installed Formulas</title>
|
<title>Installed formulae</title>
|
||||||
#{css_style}
|
#{css_style}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -190,7 +190,7 @@ get '/installed' do
|
|||||||
<ul>
|
<ul>
|
||||||
HTML
|
HTML
|
||||||
|
|
||||||
installed_formulas.each do |formula|
|
installed_formulae.each do |formula|
|
||||||
s << "<li>#{link_to_formula(formula.name)}</li>"
|
s << "<li>#{link_to_formula(formula.name)}</li>"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env ruby -w
|
#!/usr/bin/env ruby -w
|
||||||
|
|
||||||
# brew-services(1) - Easily start and stop formulas via launchctl
|
# brew-services(1) - Easily start and stop formulae via launchctl
|
||||||
# ===============================================================
|
# ===============================================================
|
||||||
#
|
#
|
||||||
# ## SYNOPSIS
|
# ## SYNOPSIS
|
||||||
@ -13,7 +13,7 @@
|
|||||||
#
|
#
|
||||||
# ## DESCRIPTION
|
# ## DESCRIPTION
|
||||||
#
|
#
|
||||||
# Integrates homebrew formulas with MacOS X' `launchctl` manager. Services
|
# Integrates homebrew formulae with MacOS X' `launchctl` manager. Services
|
||||||
# can either be added to `/Library/LaunchDaemons` or `~/Library/LaunchAgents`.
|
# can either be added to `/Library/LaunchDaemons` or `~/Library/LaunchAgents`.
|
||||||
# Basically items added to `/Library/LaunchDaemons` are started at boot,
|
# Basically items added to `/Library/LaunchDaemons` are started at boot,
|
||||||
# those in `~/Library/LaunchAgents` at login.
|
# those in `~/Library/LaunchAgents` at login.
|
||||||
@ -45,12 +45,12 @@
|
|||||||
#
|
#
|
||||||
# ## SYNTAX
|
# ## SYNTAX
|
||||||
#
|
#
|
||||||
# Several existing formulas (like mysql, nginx) already write custom plist
|
# Several existing formulae (like mysql, nginx) already write custom plist
|
||||||
# files to the formulas prefix. Most of these implement `#startup_plist`
|
# files to the formulae prefix. Most of these implement `#startup_plist`
|
||||||
# which then in turn returns a neat-o plist file as string.
|
# which then in turn returns a neat-o plist file as string.
|
||||||
#
|
#
|
||||||
# `brew services` operates on `#startup_plist` as well and requires
|
# `brew services` operates on `#startup_plist` as well and requires
|
||||||
# supporting formulas to implement it. This method should either string
|
# supporting formulae to implement it. This method should either string
|
||||||
# containing the generated XML file, or return a `Pathname` instance which
|
# containing the generated XML file, or return a `Pathname` instance which
|
||||||
# points to a plist template, or a hash like:
|
# points to a plist template, or a hash like:
|
||||||
#
|
#
|
||||||
@ -130,7 +130,7 @@ module ServicesCli
|
|||||||
def usage(code = 0)
|
def usage(code = 0)
|
||||||
puts "usage: [sudo] #{bin} [--help] <command> [<formula>]"
|
puts "usage: [sudo] #{bin} [--help] <command> [<formula>]"
|
||||||
puts
|
puts
|
||||||
puts "Small wrapper around `launchctl` for supported formulas, commands available:"
|
puts "Small wrapper around `launchctl` for supported formulae, commands available:"
|
||||||
puts " cleanup Get rid of stale services and unused plists"
|
puts " cleanup Get rid of stale services and unused plists"
|
||||||
puts " list List all services managed by `#{bin}`"
|
puts " list List all services managed by `#{bin}`"
|
||||||
puts " restart Gracefully restart selected service"
|
puts " restart Gracefully restart selected service"
|
||||||
|
@ -291,7 +291,7 @@ With `--verbose`, many commands print extra debugging information.
|
|||||||
If <formulae> are given, upgrade only the specified brews.
|
If <formulae> are given, upgrade only the specified brews.
|
||||||
|
|
||||||
* `uses [--installed] [--recursive]` <formula>:
|
* `uses [--installed] [--recursive]` <formula>:
|
||||||
Show the formulas that specify <formula> as a dependency.
|
Show the formulae that specify <formula> as a dependency.
|
||||||
|
|
||||||
Use `--recursive` to resolve more than one level of dependencies.
|
Use `--recursive` to resolve more than one level of dependencies.
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ class Formula
|
|||||||
stage do
|
stage do
|
||||||
begin
|
begin
|
||||||
patch
|
patch
|
||||||
# we allow formulas to do anything they want to the Ruby process
|
# we allow formulae to do anything they want to the Ruby process
|
||||||
# so load any deps before this point! And exit asap afterwards
|
# so load any deps before this point! And exit asap afterwards
|
||||||
yield self
|
yield self
|
||||||
rescue RuntimeError, SystemCallError => e
|
rescue RuntimeError, SystemCallError => e
|
||||||
|
@ -324,7 +324,7 @@ If \fIformulae\fR are given, upgrade only the specified brews\.
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBuses [\-\-installed] [\-\-recursive]\fR \fIformula\fR
|
\fBuses [\-\-installed] [\-\-recursive]\fR \fIformula\fR
|
||||||
Show the formulas that specify \fIformula\fR as a dependency\.
|
Show the formulae that specify \fIformula\fR as a dependency\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user