Remove more references to removed external commands

This commit is contained in:
Jack Nagel 2014-11-16 21:57:08 -06:00
parent aa406df68c
commit e00a6e4c4d
6 changed files with 6 additions and 30 deletions

View File

@ -10,10 +10,6 @@ for command in (ls (brew --repository)/Library/Homebrew/cmd | sed -e "s/\.rb//g"
set commands $command $commands set commands $command $commands
end end
for command in (ls -p (brew --repository)/Library/Contributions/cmd | sed -e "s/\.rb//g" -e "s/brew-//g" -e "s/.*\///g")
set commands $command $commands
end
for command in abv ln ls remove rm for command in abv ln ls remove rm
set commands $command $commands set commands $command $commands
end end

View File

@ -47,7 +47,6 @@ _1st_arguments=(
'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)'
'server:start a local web app that lets you browse formulae (requires Sinatra)'
'switch:switch between different versions of a formula' 'switch:switch between different versions of a formula'
'tap:tap a new formula repository from GitHub, or list existing taps' 'tap:tap a new formula repository from GitHub, or list existing taps'
'unlink:unlink a formula' 'unlink:unlink a formula'

View File

@ -63,7 +63,7 @@ class Checks
end end
# Git will always be on PATH because of the wrapper script in # Git will always be on PATH because of the wrapper script in
# Library/Contributions/cmd, so we check if there is a *real* # Library/ENV/scm, so we check if there is a *real*
# git here to avoid multiple warnings. # git here to avoid multiple warnings.
def git? def git?
return @git if instance_variable_defined?(:@git) return @git if instance_variable_defined?(:@git)

View File

@ -435,13 +435,7 @@ scripts that reside somewhere in the PATH, named `brew-<cmdname>` or
`brew-<cmdname>.rb`, which can be invoked like `brew cmdname`. This allows you `brew-<cmdname>.rb`, which can be invoked like `brew cmdname`. This allows you
to create your own commands without modifying Homebrew's internals. to create your own commands without modifying Homebrew's internals.
A number of (useful, but unsupported) external commands are included and enabled Instructions for creating your own commands can be found in the docs:
by default:
$ ls $(brew --repository)/Library/Contributions/cmd
Documentation for the included external commands as well as instructions for
creating your own can be found in the docs:
<https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/External-Commands.md> <https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/External-Commands.md>
## SPECIFYING FORMULAE ## SPECIFYING FORMULAE

View File

@ -10,9 +10,9 @@ This job automatically builds anything committed to the master branch. On failur
This job automatically builds any pull requests submitted to Homebrew/homebrew. On success or failure it updates the pull request status (see more details on the [main Brew Test Bot wiki page](Brew-Test-Bot.md)). On a successful build it automatically uploads bottles. This job automatically builds any pull requests submitted to Homebrew/homebrew. On success or failure it updates the pull request status (see more details on the [main Brew Test Bot wiki page](Brew-Test-Bot.md)). On a successful build it automatically uploads bottles.
## Homebrew Testing ## Homebrew Testing
This job is manually triggered to run [`brew-test-bot.rb`](https://github.com/Homebrew/homebrew/blob/master/Library/Contributions/cmd/brew-test-bot.rb) with user-specified parameters. On a successful build it automatically uploads bottles. This job is manually triggered to run [`brew test-bot`](https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/cmd/test-bot.rb) with user-specified parameters. On a successful build it automatically uploads bottles.
You can manually start this job with parameters to run [`brew-test-bot`](https://github.com/Homebrew/homebrew/blob/master/Library/Contributions/cmd/brew-test-bot.rb) with the same parameters. It's often useful to pass a pull request URL, a commit URL, a commit SHA-1 and/or formula names to have `brew-test-bot` test them, report the results and produce bottles. You can manually start this job with parameters to run [`brew test-bot`](https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/cmd/test-bot.rb) with the same parameters. It's often useful to pass a pull request URL, a commit URL, a commit SHA-1 and/or formula names to have `brew-test-bot` test them, report the results and produce bottles.
## Bottling ## Bottling
To pull and bottle a pull request with `brew pull`: To pull and bottle a pull request with `brew pull`:

View File

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "BREW" "1" "October 2014" "Homebrew" "brew" .TH "BREW" "1" "November 2014" "Homebrew" "brew"
. .
.SH "NAME" .SH "NAME"
\fBbrew\fR \- The missing package manager for OS X \fBbrew\fR \- The missing package manager for OS X
@ -463,20 +463,7 @@ Print the version number of brew to standard error and exit\.
Homebrew, like \fBgit\fR(1), supports external commands\. These are executable scripts that reside somewhere in the PATH, named \fBbrew\-<cmdname>\fR or \fBbrew\-<cmdname>\.rb\fR, which can be invoked like \fBbrew cmdname\fR\. This allows you to create your own commands without modifying Homebrew\'s internals\. Homebrew, like \fBgit\fR(1), supports external commands\. These are executable scripts that reside somewhere in the PATH, named \fBbrew\-<cmdname>\fR or \fBbrew\-<cmdname>\.rb\fR, which can be invoked like \fBbrew cmdname\fR\. This allows you to create your own commands without modifying Homebrew\'s internals\.
. .
.P .P
A number of (useful, but unsupported) external commands are included and enabled by default: Instructions for creating your own commands can be found in the docs: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/External\-Commands\.md\fR
.
.IP "" 4
.
.nf
$ ls $(brew \-\-repository)/Library/Contributions/cmd
.
.fi
.
.IP "" 0
.
.P
Documentation for the included external commands as well as instructions for creating your own can be found in the docs: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/External\-Commands\.md\fR
. .
.SH "SPECIFYING FORMULAE" .SH "SPECIFYING FORMULAE"
Many Homebrew commands accept one or more \fIformula\fR arguments\. These arguments can take several different forms: Many Homebrew commands accept one or more \fIformula\fR arguments\. These arguments can take several different forms: