Fix typos
This commit is contained in:
parent
285b30e4f1
commit
7bd9f08558
25
README
25
README
@ -24,12 +24,12 @@ Here's why you may prefer Homebrew to the alternatives:
|
|||||||
list the package contents. Or du to see its size.
|
list the package contents. Or du to see its size.
|
||||||
|
|
||||||
4. You don't have to sudo
|
4. You don't have to sudo
|
||||||
It's up to you. We recommend not to--see the relevant later section.
|
It's up to you. We recommend not--see the relevant later section.
|
||||||
|
|
||||||
5. Easy package creation
|
5. Easy package creation
|
||||||
Packages are just Ruby scripts. Generate a template with:
|
Packages are just Ruby scripts. Generate a template with:
|
||||||
|
|
||||||
brew mk http://foo/tarball-0.89.tgz
|
brew mk http://foo.com/tarball-0.8.9.tgz
|
||||||
|
|
||||||
Homebrew will automatically open it for you to tweak with TextMate or
|
Homebrew will automatically open it for you to tweak with TextMate or
|
||||||
$EDITOR.
|
$EDITOR.
|
||||||
@ -55,10 +55,14 @@ Here's why you may prefer Homebrew to the alternatives:
|
|||||||
9. Homebrew has a beer theme
|
9. Homebrew has a beer theme
|
||||||
Beer goggles will help you to evangelise Homebrew more effectively.
|
Beer goggles will help you to evangelise Homebrew more effectively.
|
||||||
|
|
||||||
X. Homebrew helps get you chicks
|
X. Homebrew helps you get chicks
|
||||||
There's no conclusive scientific evidence as yet, but I firmly believe it's
|
There's no conclusive scientific evidence as yet, but I firmly believe it's
|
||||||
just a matter of statistics and time.
|
just a matter of statistics and time.
|
||||||
|
|
||||||
|
I know I've made it sound so awesome you can hardly wait to rip MacPorts out
|
||||||
|
and embrace the fresh hoppy taste of Homebrew, but I should point out that it
|
||||||
|
is really new and still under heavy development. Thanks!
|
||||||
|
|
||||||
Max Howell <http://twitter.com/mxcl>
|
Max Howell <http://twitter.com/mxcl>
|
||||||
|
|
||||||
|
|
||||||
@ -194,23 +198,20 @@ Try to install it:
|
|||||||
|
|
||||||
Fork http://github.com/mxcl/homebrew and ask mxcl to pull.
|
Fork http://github.com/mxcl/homebrew and ask mxcl to pull.
|
||||||
|
|
||||||
Other useful commands when contributing
|
Useful commands when contributing
|
||||||
---------------------------------------
|
---------------------------------
|
||||||
brew edit # opens Textmate with all of Homebrew as a project
|
brew edit # opens Textmate with all of Homebrew as a project
|
||||||
brew edit foobar # opens that formula for editing in Textmate
|
brew edit foobar # opens that formula for editing in Textmate
|
||||||
brew install foobar --debug # if the build fails, you can fix it
|
brew install foobar --debug # if the build fails, you can fix it
|
||||||
brew [something] --verbose # you get a proper ruby backtrace
|
brew [something] --verbose # you get a proper ruby backtrace
|
||||||
brew install foobar --interactive # opens a new shell at the extract tarball
|
brew install foobar --interactive # opens a new shell at the extract tarball
|
||||||
|
|
||||||
Code
|
|
||||||
----
|
|
||||||
Yes please! Fork and improve :)
|
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
----
|
====
|
||||||
1. upgrades, yeah still need this
|
1. Upgrades, yeah still need this
|
||||||
2. install multiple versions of tools, which is very useful for eg. Qt
|
2. Install multiple versions of tools, which is very useful for eg. Qt
|
||||||
3. formula revisions, to allow upgrades irrespective of the underlying package
|
3. Formula revisions, to allow upgrades irrespective of the underlying package
|
||||||
|
|
||||||
|
|
||||||
FAQ
|
FAQ
|
||||||
|
|||||||
7
bin/brew
7
bin/brew
@ -235,7 +235,7 @@ begin
|
|||||||
raise "#{o.prefix} already exists!" if o.prefix.exist?
|
raise "#{o.prefix} already exists!" if o.prefix.exist?
|
||||||
o.brew do
|
o.brew do
|
||||||
if ARGV.include? '--interactive'
|
if ARGV.include? '--interactive'
|
||||||
ohai "Entering interactive mode, type `exit' to return to this shell"
|
ohai "Entering interactive mode, type `exit' to return to finalize installation"
|
||||||
puts "Install to this prefix: #{o.prefix}"
|
puts "Install to this prefix: #{o.prefix}"
|
||||||
pid=fork
|
pid=fork
|
||||||
if pid.nil?
|
if pid.nil?
|
||||||
@ -250,7 +250,7 @@ begin
|
|||||||
else
|
else
|
||||||
o.prefix.mkpath
|
o.prefix.mkpath
|
||||||
o.install
|
o.install
|
||||||
['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file|
|
%w[README ChangeLog COPYING COPYRIGHT AUTHORS].each do |file|
|
||||||
FileUtils.cp file, o.prefix if File.file? file
|
FileUtils.cp file, o.prefix if File.file? file
|
||||||
end
|
end
|
||||||
#this is common, and we don't want it
|
#this is common, and we don't want it
|
||||||
@ -272,12 +272,15 @@ begin
|
|||||||
raise
|
raise
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
when 'ln'
|
when 'ln'
|
||||||
n=0
|
n=0
|
||||||
shift_formulae_from_ARGV.each {|name| n+=ln name}
|
shift_formulae_from_ARGV.each {|name| n+=ln name}
|
||||||
puts "Created #{n} links"
|
puts "Created #{n} links"
|
||||||
|
|
||||||
when 'rm', 'uninstall'
|
when 'rm', 'uninstall'
|
||||||
shift_formulae_from_ARGV.each {|name| rm name}
|
shift_formulae_from_ARGV.each {|name| rm name}
|
||||||
|
|
||||||
when 'mk'
|
when 'mk'
|
||||||
require 'brewkit'
|
require 'brewkit'
|
||||||
url=ARGV.shift
|
url=ARGV.shift
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user