Max Howell
65cb8ea09f
brew unlink command
...
Closes Homebrew/homebrew#8
2009-08-29 21:07:26 +01:00
Max Howell
f7d8003f3b
brew install lists available install options
...
brew install without additional arguments that is.
2009-08-29 18:46:31 +01:00
Adam Vandenberg
bf8071f0aa
Use alternate Cache for root user.
2009-08-29 13:30:34 +01:00
Max Howell
88ad8b9af6
brew ls with no further ARGV lists all installed kegs
2009-08-24 01:04:53 +01:00
Max Howell
e7594de797
Allow configure alias for diy
2009-08-24 01:04:53 +01:00
Max Howell
140bfc5592
brew diy command
...
Automagically determines prefix to install to for DIY installations.
README amended.
2009-08-12 13:43:51 +01:00
Max Howell
0fb03b5516
Error out if the host OS X is too old
2009-08-12 02:01:47 +01:00
Max Howell
5752dd23ed
Only show full exception bt for --debug or -d
...
I agree with Adam, this makes sense.
2009-08-11 18:17:11 +01:00
Max Howell
3b262d0b23
Raise if ARGV.named and no named arguments
2009-08-11 00:27:18 +01:00
Max Howell
f724f5ed52
Ensure ENV is pristine for each installation
...
Because we modified the ENV global each install this propagated to consecutive
formulae. So exec a new brew process each install. This is the safest way
although Ruby exceptions don't propagate to the parent process so I worry
about it somewhat.
2009-08-10 18:11:23 +01:00
Max Howell
69c076e741
ohai takes multiple parameters
...
Will not show any of the block if the 1st additional parameter is nil
2009-08-10 18:11:23 +01:00
Max Howell
760c083c0c
Refactor
...
Large refactor to Formula, mostly improving reliability and error handling but
also layout and readability.
General improvements so testing can be more complete.
Patches are automatically downloaded and applied for Formula that return a
list of urls from Formula::patches.
Split out the brew command logic to facilitate testing.
Facility from Adam Vandenberg to allow selective cleaning of files, added
because Python doesn't work when stripped.
2009-08-10 18:11:17 +01:00
Adam Vandenberg
cae0e78e60
Pull USERAGENT used by curl into constant
2009-08-10 16:15:24 +01:00
Adam Vandenberg
eda0dc1741
Fix brew --cache
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04 07:48:27 +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
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
345d603b52
FIX brew info
2009-08-01 17:43:54 +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
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
Max Howell
0dd07b3fdc
Copy LICENSE file if it exists also
2009-07-31 00:28:45 +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
fb5aefd4a0
Refactor--object orientate where sensible
2009-07-24 23:57:54 +01:00
Max Howell
7bd9f08558
Fix typos
2009-07-22 20:28:22 +01:00
Max Howell
3bdeac3649
Work even if the working directory doesn't exist
2009-07-10 00:57:27 +01:00
Max Howell
a648e46d8a
Leave permissions of installed files in sensible state
...
No write permission for files, executable when required etc.
2009-06-26 13:05:48 +01:00
Max Howell
9f9d95c134
brew mk, @homepage in front of @md5 as this is order you type
2009-06-26 13:05:11 +01:00
Max Howell
67d418f71d
bew install --interactive now works
...
Also mkpath only in normal install route, thus we don't "create" a keg when
exiting --interactive
2009-06-26 13:04:22 +01:00
Max Howell
bcc7c19e85
brew edit and brew macports commmands
2009-06-26 13:03:49 +01:00
Max Howell
a5bbf971ba
Fix list for empty kegs
2009-06-26 13:03:20 +01:00
Max Howell
6ee7a116c2
No more "cwd doesn't exist" messages
2009-06-26 13:01:23 +01:00
Max Howell
7d56cfb879
Downcase name when creating new formulae with brew mk
2009-06-20 15:46:31 +01:00
Max Howell
f352880274
brew install foo --help
...
Shows the result of ./configure --help
2009-06-18 10:34:54 +01:00
Max Howell
2097730e40
Improved documentation
2009-06-18 10:34:54 +01:00
Max Howell
cae8fb295c
Display usage for unknown parameters etc. again
...
For some reason, this had disappeared.
2009-06-18 10:31:23 +01:00
Max Howell
57f7df1e3c
Announce caveats when brew info is called
2009-06-18 10:31:23 +01:00
Max Howell
dfc93c6a97
brew info url shows calls extract version
...
This is so I can test the version detection logic before doing brew mk. It's a
debug feature basically.
2009-06-18 10:31:23 +01:00
Max Howell
b94e10ce20
brew uninstall alias
2009-06-18 10:31:22 +01:00
Max Howell
b1a628cc99
mv share/doc/name-version to share/doc/name
...
Versioned docs don't make sense with our installation pattern
2009-06-18 10:31:15 +01:00
Max Howell
e296c08aee
Unrar formula
...
Very optimised, inspired by KDE's --enable-final
2009-06-18 08:20:47 +01:00
Max Howell
ebd9d173d4
pretty_duration function
2009-06-15 01:41:53 +01:00
Max Howell
92154225dc
brew info provides installation status
2009-06-13 12:59:18 +01:00
Max Howell
530ab40bd5
With brew mk, open with mate if available
2009-06-08 15:59:59 +01:00
Max Howell
5c0a7e56be
--interactive mode during install
...
Starts a bash prompt in the uncompressed build directory
2009-06-08 15:59:31 +01:00