Adam Vandenberg
eda0dc1741
Fix brew --cache
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:27 +08:00
Adam Vandenberg
bfa17cc16c
Homepage takes any formula, installed or not.
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:26 +08:00
Max Howell
33b90794e1
HOMEBREW_CACHE is now a Pathname object
...
This is consistent with the other HOMEBREW_* path constants
2009-08-04 00:40:12 +01:00
Max Howell
8ce4e5923f
FIX Github gist formulae
2009-08-04 00:36:48 +01:00
Max Howell
69d7e2a797
FIX brew install before Cache has yet been created
...
Closes Homebrew/homebrew#7
Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
2009-08-04 00:35:27 +01:00
Adam Vandenberg
a734b30a68
Add home(page) to completion.
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03 08:13:30 +08:00
Max Howell
d327b7e7e2
FIX brew home
...
Somehow I didn't test before the commit, dumbo.
2009-08-03 01:07:37 +01:00
Max Howell
5aae0ce18b
FIX brew info when keg installed
...
I keep breaking this stuff, need more tests, and well I think it's due to
developing on multiple machines and having different states of checkouts. So
apologies, I'll FIX myself too :)
2009-08-02 13:02:15 +01:00
Max Howell
d10192e077
Add Contributions to brew edit listing
2009-08-02 01:36:41 +01:00
Adam Vandenberg
14da66fb77
brew home foo open's foo's homepage in default web-browser
2009-08-02 01:30:29 +01:00
Adam Vandenberg
db15b323bb
Create /usr/local/bin if it doesn't already exist.
2009-08-02 01:25:02 +01:00
Adam Vandenberg
fe71812af6
Add all commands to the bash completion script.
2009-08-02 01:25:02 +01:00
Adam Vandenberg
fdc091ed42
Info also takes installed brews
2009-08-02 01:25:02 +01:00
Adam Vandenberg
7478ff7804
Ensure that the Cellar exists when symlinking
...
Only remove brew symlinks w/ selflink.
2009-08-02 01:25:01 +01:00
Adam Vandenberg
58ba5f9df6
Bash completion script for the brew command
2009-08-02 01:25:01 +01:00
Adam Vandenberg
1333e910cf
A script to symlink Homebrew into /usr/local
...
This is a developer utility, to allow you to keep your git clone in
eg. your home directory, but still have Homebrew installed to
/usr/local.
It is an optional utility having the whole checkout at /usr/local
is the default and recommended solution.
2009-08-02 01:25:01 +01:00
Adam Vandenberg
58fe4cc2bf
Use cleanpath instead of realpath to keep symlinks intact.
2009-08-02 01:25:01 +01:00
Max Howell
e5fd9be0dc
Raise if extract_named_args finds no named args
...
This errors out correctly for all existing and future usage.
2009-08-02 01:21:01 +01:00
Max Howell
9b1cc903a2
FIX missing keg argument error message. Closes Homebrew/homebrew#6
2009-08-02 00:04:15 +01:00
Max Howell
a5ca752658
Refactor and clean up code
2009-08-01 18:10:20 +01:00
Max Howell
e2bc3c510e
FIX allow @version to be set in derived Formula
2009-08-01 17:54:18 +01:00
Max Howell
345d603b52
FIX brew info
2009-08-01 17:43:54 +01:00
Max Howell
7cb9c31f3e
Determine best optimization flags for host
...
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible.
2009-07-31 16:06:14 +01:00
Max Howell
055a694cd4
More tests for Formula and Keg
2009-07-31 14:21:27 +01:00
Max Howell
7e0d5bf165
Tests for Formula.*
2009-07-31 14:04:24 +01:00
Max Howell
e39f2ad229
FIX chmod correctly for *both* 32bit and 64bit binaries
2009-07-31 14:03:58 +01:00
Max Howell
d082abbbe8
FIX only claim that Formula doesn't exist if it was a loaderror
2009-07-31 14:03:22 +01:00
Max Howell
c4972e218f
FIX typo in formula.rb
2009-07-31 13:13:52 +01:00
Max Howell
5fd7fd0578
A basis for full test coverage
2009-07-31 04:59:08 +01:00
Max Howell
a39e0d20c3
opoo function for warning messages
2009-07-31 04:59:08 +01:00
Max Howell
9b19f194cc
Refactor $foo into HOMEBREW_FOO
...
CONSTANTS are the far saner choice for these important parameters.
Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell
7f3e8bc36a
Recognise 64 bit binaries too
2009-07-31 01:19:11 +01:00
Max Howell
6d64eb28d5
Don't allow Keg.new for empty kegs
...
Kegs have to exist to be created.
2009-07-31 01:18:03 +01:00
Max Howell
4ac760779e
FIX brew edit foo
2009-07-31 01:15:58 +01:00
Max Howell
71a78b0e56
FIX don't rmtree an already installed package
...
That's stupid.
Also don't fail to rmtree because nothing was installed.
2009-07-31 00:55:00 +01:00
Adam Vandenberg
ec65bb4819
Allow brewing without an MD5 hash
...
You can either have none, in which case a warning is displayed, or
you can have one, but it *must* match.
2009-07-31 00:29:58 +01:00
Max Howell
0dd07b3fdc
Copy LICENSE file if it exists also
2009-07-31 00:28:45 +01:00
Max Howell
fc6e9e5bab
Fix Formula.installed?
2009-07-29 01:00:26 +01:00
Max Howell
90c7029144
Fix brew rm
2009-07-29 01:00:26 +01:00
Max Howell
e9cb539445
Fix brew info foo
2009-07-29 01:00:26 +01:00
Adam Vandenberg
053bb16fb0
Add --cmake option to brew mk to generate a CMAKE skeleton.
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-07-28 18:47:45 +08:00
Max Howell
5b5a3a1826
brew info lists number of kegs
2009-07-28 00:33:08 +01:00
Max Howell
57f6db7a97
Propose git backbone as a plus too
2009-07-28 00:31:21 +01:00
Max Howell
a6abd2fd4e
Merge branch 'masterbrew' of git@github.com:mxcl/homebrew into masterbrew
2009-07-28 00:27:58 +01:00
Adam Vandenberg
dbcadfeb17
Fix -R flag in chown command line.
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-07-28 04:06:22 +08:00
Max Howell
11060f399b
Don't allow build to be rescued if the untar fails
2009-07-27 16:35:04 +01:00
Max Howell
822a30e39d
Fix inreplace when using ' or other RegExp symbols
...
Evidence that using perl from the cli for in-replace is stupid :P
Had to use $'' to allow escaping of ' in bash strings.
Wasn't escaping regexp symbols as well, so it was amazing this worked at all!
2009-07-27 16:20:48 +01:00
Max Howell
7ebe8084ec
Enforce 10.5 as minimum OSX SDK framework to use
2009-07-27 16:18:17 +01:00
Max Howell
fb5aefd4a0
Refactor--object orientate where sensible
0.3
2009-07-24 23:57:54 +01:00
Max Howell
5eb9d6519d
Fix ack formula
2009-07-23 04:12:25 +01:00