aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2009-08-10Refactor0.4Max Howell
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-10Extend ENV to make tweaking the build environment easierMax Howell
eg. ENV.libpng or ENV.deparallelize
2009-08-10Return the installed path(s) from installMax Howell
2009-08-10FIX Pathname.renameMax Howell
Rename relative to self.dirname
2009-08-10ARGV+yeastMax Howell
Extensions to ARGV that are convenient or improve our robustness
2009-08-10Pull USERAGENT used by curl into constantAdam Vandenberg
2009-08-10Extract 'verify_download_integrity' methodAdam Vandenberg
In order to support more than just MD5 verification, extract 'verify_download' into a separate method.
2009-08-06Formula::std_cmake_parametersMax Howell
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-04Remove all testing temporaries when doneMax Howell
2009-08-04The unittest now emulates a fresh install betterMax Howell
In future, this will hopefully prevent regressions like issue Homebrew/homebrew#7.
2009-08-04Sample for brew --cache.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04Fix brew --cacheAdam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04Homepage takes any formula, installed or not.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04HOMEBREW_CACHE is now a Pathname objectMax Howell
This is consistent with the other HOMEBREW_* path constants
2009-08-04FIX Github gist formulaeMax Howell
2009-08-04FIX brew install before Cache has yet been createdMax Howell
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-03Add home(page) to completion.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-03FIX brew homeMax Howell
Somehow I didn't test before the commit, dumbo.
2009-08-02FIX brew info when keg installedMax Howell
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-02Add Contributions to brew edit listingMax Howell
2009-08-02brew home foo open's foo's homepage in default web-browserAdam Vandenberg
2009-08-02Create /usr/local/bin if it doesn't already exist.Adam Vandenberg
2009-08-02Add all commands to the bash completion script.Adam Vandenberg
2009-08-02Info also takes installed brewsAdam Vandenberg
2009-08-02Ensure that the Cellar exists when symlinkingAdam Vandenberg
Only remove brew symlinks w/ selflink.
2009-08-02Bash completion script for the brew commandAdam Vandenberg
2009-08-02A script to symlink Homebrew into /usr/localAdam Vandenberg
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-02Use cleanpath instead of realpath to keep symlinks intact.Adam Vandenberg
2009-08-02Raise if extract_named_args finds no named argsMax Howell
This errors out correctly for all existing and future usage.
2009-08-02FIX missing keg argument error message. Closes Homebrew/homebrew#6Max Howell
2009-08-01Refactor and clean up codeMax Howell
2009-08-01FIX allow @version to be set in derived FormulaMax Howell
2009-08-01FIX brew infoMax Howell
2009-07-31Determine best optimization flags for hostMax Howell
We call sysctl to determine which exact Mac model we are running on and optimize as well as possible.
2009-07-31More tests for Formula and KegMax Howell
2009-07-31Tests for Formula.*Max Howell
2009-07-31FIX chmod correctly for *both* 32bit and 64bit binariesMax Howell
2009-07-31FIX only claim that Formula doesn't exist if it was a loaderrorMax Howell
2009-07-31FIX typo in formula.rbMax Howell
2009-07-31A basis for full test coverageMax Howell
2009-07-31opoo function for warning messagesMax Howell
2009-07-31Refactor $foo into HOMEBREW_FOOMax Howell
CONSTANTS are the far saner choice for these important parameters. Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31Recognise 64 bit binaries tooMax Howell
2009-07-31Don't allow Keg.new for empty kegsMax Howell
Kegs have to exist to be created.
2009-07-31FIX brew edit fooMax Howell
2009-07-31FIX don't rmtree an already installed packageMax Howell
That's stupid. Also don't fail to rmtree because nothing was installed.
2009-07-31Allow brewing without an MD5 hashAdam Vandenberg
You can either have none, in which case a warning is displayed, or you can have one, but it *must* match.
2009-07-31Copy LICENSE file if it exists alsoMax Howell
2009-07-29Fix Formula.installed?Max Howell
2009-07-29Fix brew rmMax Howell