aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
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-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-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-01FIX allow @version to be set in derived FormulaMax Howell
2009-07-31More tests for Formula and KegMax 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-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-29Fix Formula.installed?Max Howell
2009-07-27Don't allow build to be rescued if the untar failsMax Howell
2009-07-24Refactor--object orientate where sensible0.3Max Howell