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'
|
||||
'log:git commit log for a formula'
|
||||
'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'
|
||||
'remove:remove a formula'
|
||||
'search:search for a formula (/regex/ or string)'
|
||||
@ -41,7 +41,7 @@ _1st_arguments=(
|
||||
'unlink:unlink a formula'
|
||||
'update:freshen up links'
|
||||
'upgrade:upgrade outdated formulae'
|
||||
'uses:show formulas which depend on a formula'
|
||||
'uses:show formulae which depend on a formula'
|
||||
)
|
||||
|
||||
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.
|
||||
# See: http://github.com/mxcl/homebrew/issues/issue/1438
|
||||
|
||||
|
@ -173,7 +173,7 @@ get '/formula/:name' do
|
||||
end
|
||||
|
||||
|
||||
def installed_formulas
|
||||
def installed_formulae
|
||||
Formula.select{|formula| formula.installed?}
|
||||
end
|
||||
|
||||
@ -182,7 +182,7 @@ get '/installed' do
|
||||
s = <<-HTML
|
||||
<html>
|
||||
<head>
|
||||
<title>Installed Formulas</title>
|
||||
<title>Installed formulae</title>
|
||||
#{css_style}
|
||||
</head>
|
||||
<body>
|
||||
@ -190,7 +190,7 @@ get '/installed' do
|
||||
<ul>
|
||||
HTML
|
||||
|
||||
installed_formulas.each do |formula|
|
||||
installed_formulae.each do |formula|
|
||||
s << "<li>#{link_to_formula(formula.name)}</li>"
|
||||
end
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
@ -13,7 +13,7 @@
|
||||
#
|
||||
# ## 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`.
|
||||
# Basically items added to `/Library/LaunchDaemons` are started at boot,
|
||||
# those in `~/Library/LaunchAgents` at login.
|
||||
@ -45,12 +45,12 @@
|
||||
#
|
||||
# ## SYNTAX
|
||||
#
|
||||
# Several existing formulas (like mysql, nginx) already write custom plist
|
||||
# files to the formulas prefix. Most of these implement `#startup_plist`
|
||||
# Several existing formulae (like mysql, nginx) already write custom plist
|
||||
# files to the formulae prefix. Most of these implement `#startup_plist`
|
||||
# which then in turn returns a neat-o plist file as string.
|
||||
#
|
||||
# `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
|
||||
# points to a plist template, or a hash like:
|
||||
#
|
||||
@ -130,7 +130,7 @@ module ServicesCli
|
||||
def usage(code = 0)
|
||||
puts "usage: [sudo] #{bin} [--help] <command> [<formula>]"
|
||||
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 " list List all services managed by `#{bin}`"
|
||||
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.
|
||||
|
||||
* `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.
|
||||
|
||||
|
@ -219,7 +219,7 @@ class Formula
|
||||
stage do
|
||||
begin
|
||||
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
|
||||
yield self
|
||||
rescue RuntimeError, SystemCallError => e
|
||||
|
@ -324,7 +324,7 @@ If \fIformulae\fR are given, upgrade only the specified brews\.
|
||||
.
|
||||
.TP
|
||||
\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
|
||||
Use \fB\-\-recursive\fR to resolve more than one level of dependencies\.
|
||||
|
Loading…
x
Reference in New Issue
Block a user