brew make' becomes
brew create'
This is because I have observed two people confuse make with the "make" tool and thus assume `brew make' is `brew install'. `brew make' will be deprecated at 0.7, until then it shows a warning.
This commit is contained in:
parent
de620e4396
commit
fc52e1a69d
@ -13,7 +13,7 @@ _brew_to_completion()
|
|||||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||||
|
|
||||||
# We only complete unabbreviated commands...
|
# We only complete unabbreviated commands...
|
||||||
actions="edit homepage info install list link make uninstall"
|
actions="edit generate homepage info install list link uninstall"
|
||||||
|
|
||||||
# Subcommand list
|
# Subcommand list
|
||||||
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
|
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
|
||||||
|
@ -90,7 +90,7 @@ Commands:
|
|||||||
link formula ...
|
link formula ...
|
||||||
home formula ...
|
home formula ...
|
||||||
info [formula] [--github]
|
info [formula] [--github]
|
||||||
make url
|
gen url
|
||||||
prune
|
prune
|
||||||
|
|
||||||
To visit the Homebrew homepage type:
|
To visit the Homebrew homepage type:
|
||||||
|
5
README
5
README
@ -247,7 +247,7 @@ Contributing New Formulae
|
|||||||
=========================
|
=========================
|
||||||
Formulae are simple Ruby scripts. Generate a formula with most bits filled-in:
|
Formulae are simple Ruby scripts. Generate a formula with most bits filled-in:
|
||||||
|
|
||||||
brew mk http://foo.org/foobar-1.2.1.tar.bz2
|
brew create http://foo.org/foobar-1.2.1.tar.bz2
|
||||||
|
|
||||||
Check it over and try to install it:
|
Check it over and try to install it:
|
||||||
|
|
||||||
@ -275,5 +275,8 @@ FAQ
|
|||||||
2. Was Homebrew devised under the influence of alcohol?
|
2. Was Homebrew devised under the influence of alcohol?
|
||||||
Yes.
|
Yes.
|
||||||
|
|
||||||
|
3. Can Homebrew replace MacPorts?
|
||||||
|
Maybe. But remember, Homebrew is still incomplete. Be forgiving in your
|
||||||
|
approach and be willing to fork and contribute fixes. Thanks!
|
||||||
|
|
||||||
[wiki]: http://wiki.github.com/mxcl/homebrew
|
[wiki]: http://wiki.github.com/mxcl/homebrew
|
||||||
|
7
bin/brew
7
bin/brew
@ -181,7 +181,14 @@ begin
|
|||||||
when 'prune'
|
when 'prune'
|
||||||
prune
|
prune
|
||||||
|
|
||||||
|
# 'make' supported until 0.7 for historic reasons
|
||||||
when 'mk', 'make'
|
when 'mk', 'make'
|
||||||
|
opoo "`brew make' has changed to `brew create'"
|
||||||
|
puts "This is because make can be confused with the `make' tool."
|
||||||
|
puts "brew make will continue working until Homebrew 0.7"
|
||||||
|
exec __FILE__, "create", *ARGV
|
||||||
|
|
||||||
|
when 'create'
|
||||||
if ARGV.include? '--macports'
|
if ARGV.include? '--macports'
|
||||||
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
|
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user