496 Commits

Author SHA1 Message Date
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
Max Howell
25c2f54ccf brew list only lists files not directories 2009-06-08 15:59:12 +01:00
Max Howell
0997a04bf8 Allow brew abv without arguments 2009-06-08 11:44:33 +01:00
Max Howell
71a6287409 Handle exceptions during install correctly
rm -rf the prefix and build dirs when appropriate.
2009-06-08 11:43:28 +01:00
Max Howell
cbbc7b0f0f Better version extraction and more flexible funcs 2009-06-08 11:42:28 +01:00
Max Howell
0ab4b3bf12 brew mk command 2009-06-05 23:38:58 +01:00
Max Howell
8b27aaa989 Never cp .app bundles into FHS tree 2009-06-05 13:44:00 +01:00
Max Howell
97eb5a8292 Move caveat handling to brew tool 2009-06-05 13:43:49 +01:00
Max Howell
b1f652910f Special case share/aclocal 2009-06-05 13:28:14 +01:00
Max Howell
354ea6f970 Handle -- args properly 2009-06-05 12:57:00 +01:00
Max Howell
038abeeb10 Allow abv [formula] 2009-06-05 09:50:02 +01:00
Max Howell
459c883d40 Updated usage() 2009-06-05 07:51:23 +01:00
Max Howell
3eeda7fc29 Support multiple formulae for certain commands 2009-06-05 07:51:05 +01:00
Max Howell
ad153ad1cf Correct --prefix behaviour 2009-06-04 20:04:22 +01:00
Max Howell
ddfd15bcf2 mkpath prefix before install in brew command 2009-06-04 19:39:05 +01:00
Max Howell
cc50131728 Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00