Commit Graph
5506 Commits
Author SHA1 Message Date
Max Howell 6442e45741 Extend ENV to make tweaking the build environment easier
eg. ENV.libpng or ENV.deparallelize
2009-08-10 16:48:21 +01:00
Max Howell 6c344eef72 Return the installed path(s) from install 2009-08-10 16:34:04 +01:00
Max Howell c0878c76d0 FIX Pathname.rename
Rename relative to self.dirname
2009-08-10 16:33:15 +01:00
Max Howell ef1e9b1a8c ARGV+yeast
Extensions to ARGV that are convenient or improve our robustness
2009-08-10 16:27:24 +01:00
Adam Vandenberg 1f4081ee83 Pull USERAGENT used by curl into constant 2009-08-10 16:15:24 +01:00
Adam Vandenberg ae4a49610d Extract 'verify_download_integrity' method
In order to support more than just MD5 verification, extract 'verify_download'
into a separate method.
2009-08-10 16:14:43 +01:00
Max Howell e141312b20 Make git install grc --profile work again 2009-08-06 20:25:59 +01:00
Max Howell 7fa88ff6ff Install taglib-extras with Taglib 2009-08-06 20:25:59 +01:00
Max Howell 1b89593c72 Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell 1cf339388b Formula::std_cmake_parameters
Because cmake syntax is batshit-insane, this stops people having to memorize
which parameters to supply, and thus prevents error.

I didn't do the same for Autotools deliberately as I have found that
which parameters are supported is somewhat inconsistent. Plenty don't even
support --disable-debug, thus I want the parameters getting used in the
contributors face so they can easily diagnose what is going on.
2009-08-06 20:25:59 +01:00
Max Howell 432faa4146 Remove all testing temporaries when done 2009-08-04 01:31:32 +01:00
Max Howell 7041ef6290 The unittest now emulates a fresh install better
In future, this will hopefully prevent regressions like issue #7.
2009-08-04 01:07:36 +01:00
Adam Vandenberg bb7b9d988d 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 6e2a5d13f2 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 e74d891b5b FIX Github gist formulae 2009-08-04 00:36:48 +01:00
Max Howell 4f57f85b34 FIX brew install before Cache has yet been created
Closes #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 8ea4f24049 Add home(page) to completion.
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03 08:13:30 +08:00
Max Howell 0e40aa0fd4 Updated PNGcrush to version 1.7.0 2009-08-02 13:00:40 +01:00
Adam Vandenberg df793f7cd4 brew home foo open's foo's homepage in default web-browser 2009-08-02 01:30:29 +01:00
Adam Vandenberg 55c137198d Create /usr/local/bin if it doesn't already exist. 2009-08-02 01:25:02 +01:00
Adam Vandenberg fbb6601171 Add all commands to the bash completion script. 2009-08-02 01:25:02 +01:00
Adam Vandenberg 66b00736df Info also takes installed brews 2009-08-02 01:25:02 +01:00
Adam Vandenberg b3fe72efda Ensure that the Cellar exists when symlinking
Only remove brew symlinks w/ selflink.
2009-08-02 01:25:01 +01:00
Adam Vandenberg 64c3ea038f Bash completion script for the brew command 2009-08-02 01:25:01 +01:00
Adam Vandenberg a667183a35 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 ddf2ef173a Add subversion formula. 2009-08-02 01:25:01 +01:00
Adam Vandenberg c8cb948e7d 'tig' formula, a curses-based front end for Git. 2009-08-02 01:25:01 +01:00
Adam Vandenberg 0f52a9b3b3 Use cleanpath instead of realpath to keep symlinks intact. 2009-08-02 01:25:01 +01:00
Max Howell 82e1688028 Added Readline formula; updated Python formula. 2009-08-02 01:25:01 +01:00
Max Howell 0454fb4cba Refactor and clean up code 2009-08-01 18:10:20 +01:00
Max Howell ea1cc3fc9b FIX allow @version to be set in derived Formula 2009-08-01 17:54:18 +01:00
Max Howell db69633b84 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 f6e5874ff7 More tests for Formula and Keg 2009-07-31 14:21:27 +01:00
Max Howell 39fa1f0aee FIX flac install 2009-07-31 14:04:49 +01:00
Max Howell 141bc27668 Tests for Formula.* 2009-07-31 14:04:24 +01:00
Max Howell 325912dd42 FIX chmod correctly for *both* 32bit and 64bit binaries 2009-07-31 14:03:58 +01:00
Max Howell 6bc29cbb65 FIX only claim that Formula doesn't exist if it was a loaderror 2009-07-31 14:03:22 +01:00
Max Howell 96e454435e FIX typo in formula.rb 2009-07-31 13:13:52 +01:00
Max Howell eb7b447b8c A basis for full test coverage 2009-07-31 04:59:08 +01:00
Max Howell 1e08d31e14 opoo function for warning messages 2009-07-31 04:59:08 +01:00
Max Howell 118b41bfcd 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 1d4e189880 Use our CFLAGS for dos2unix 2009-07-31 01:29:00 +01:00
Max Howell 05add0fa54 Use our CFLAGS and LDFLAGS for pngcrush 2009-07-31 01:28:27 +01:00
Max Howell c4d8569b5b Recognise 64 bit binaries too 2009-07-31 01:19:11 +01:00
Max Howell 8d4b17b7e6 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 3a981c6f3b Git 1.6.4 2009-07-31 00:32:42 +01:00
Adam Vandenberg 27f46b1180 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
Adam Vandenberg 9688783f0b Basic Python 2.6 recipe. 2009-07-31 00:28:38 +01:00
Max Howell c37b2a079a Fix Formula.installed? 2009-07-29 01:00:26 +01:00
Max Howell fb1db6956f Fix brew rm 2009-07-29 01:00:26 +01:00