Permalink
Browse files

`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.
  • Loading branch information...
1 parent 2726378 commit f414bc8cce9e53aa48b3bd96ede0ef5637eb245b @mxcl mxcl committed Sep 7, 2009
Showing with 13 additions and 3 deletions.
  1. +1 −1 Library/Contributions/brew_bash_completion.sh
  2. +1 −1 Library/Homebrew/ARGV+yeast.rb
  3. +4 −1 README
  4. +7 −0 bin/brew
View
2 Library/Contributions/brew_bash_completion.sh
@@ -13,7 +13,7 @@ _brew_to_completion()
prev="${COMP_WORDS[COMP_CWORD-1]}"
# 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
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
View
2 Library/Homebrew/ARGV+yeast.rb
@@ -90,7 +90,7 @@ def usage
link formula ...
home formula ...
info [formula] [--github]
- make url
+ gen url
prune
To visit the Homebrew homepage type:
View
5 README
@@ -247,7 +247,7 @@ Contributing New Formulae
=========================
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:
@@ -275,5 +275,8 @@ FAQ
2. Was Homebrew devised under the influence of alcohol?
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
View
7 bin/brew
@@ -181,7 +181,14 @@ begin
when 'prune'
prune
+ # 'make' supported until 0.7 for historic reasons
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'
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
else

0 comments on commit f414bc8

Please sign in to comment.