aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-11-11Use a class for FORMULA_META_FILESAdam Vandenberg
* lets more text types get picked up * better filter for `brew list`
2012-11-11Move vendored .pc files to ENVAdam Vandenberg
Closes Homebrew/homebrew#15961.
2012-11-10Exclude the cache from `brew list --unbrewed`Adam Vandenberg
If you have relocated your HOMEBREW_CACHE under HOMEBREW_PREFIX, then don't show these files as "unbrewed".
2012-11-10brew-test-bot: general cleanup.Mike McQuaid
2012-11-10brew-test-bot: Cleanup and improve documentation.Mike McQuaid
2012-11-10brew-test-bot: Change directory only for Git commands.Mike McQuaid
2012-11-10brew-test-bot: --cleanup (not --clean) and fetch origin.Mike McQuaid
2012-11-10brew-test-bot: print bottle output with --log.Mike McQuaid
2012-11-10brew-test-bot: add skip cleanup, setup options.Mike McQuaid
2012-11-09debrew: take input from same line as promptJack Nagel
2012-11-09Formula#system: don't try to close a closed streamJack Nagel
The new formula debugger users continuations to jump back up the stack, and thus anything that has the potential to be executed twice (i.e. ensure blocks) needs to to be essentially idempotent. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-08Fix typo in postgres requirementJack Nagel
2012-11-08Factor out MySQL and Postgres requirementsJack Nagel
2012-11-06Fix curlrc existence checkJack Nagel
Enumerable#one? is not available under Ruby 1.8.6. Further, we really want #any? here, as setting both HOME and CURL_HOME can trigger a false negative. Fixes Homebrew/homebrew#15883.
2012-11-06Move conflict message into conflict classJack Nagel
2012-11-06Fix framework install namesJack Nagel
2012-11-06Inject framework paths into stdenv compiler flagsJack Nagel
2012-11-06Link Frameworks into top-level Frameworks directoryJack Nagel
2012-11-06Combine duplicated postfix conditionalsJack Nagel
2012-11-06Hoist top-level directory list into a constantJack Nagel
2012-11-03doctor: Remove fuse.pc from the whitelistCharlie Sharpsteen
Having a third-party `fuse.pc` file will conflict with the `fuse4x` formula.
2012-11-02superenv: Builds need to use the right git/svn tooMax Howell
stdenv already works as Contributions/cmds is in the path already. This is safe to do because OS X already has git and svn in the PATH if you have the CLT installed. So we should definitely ensure we use the right versions. Fixes Homebrew/homebrew#15783.
2012-11-01Add Xcode 4.5.2 to standard compilers mapJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-01Error out on lowercase --head parameter to install.Adam Vandenberg
Fixes Homebrew/homebrew#14815.
2012-11-01Whitelist Homebrew's own prefix in superenv.Xiyue Deng
This allows Homebrew to be installed into /opt or /sw. Closes Homebrew/homebrew#15780. Signed-off-by: Max Howell <mxcl@me.com> Cleaned up the patch a little. Still ugly though, but logic is unusual so that's just how it is.
2012-10-31Fix build failure being non-verbose when --verboseMax Howell
2012-10-31Only show the troubleshooting linkMax Howell
This has to be a last resort right? If all we show is that link (plus preceding un-deletable output) and they don't click it then maybe we should just close the ticket and hope they'll use MacPorts instead.
2012-10-31Superenv: be more specific about -O flagsAdam Vandenberg
Closes Homebrew/homebrew#15775.
2012-10-29Add support for 7zip archivesSijawusz Pur Rahnama
Closes Homebrew/homebrew#15723. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-28brew-update: Guard non-directory files in TapsCharlie Sharpsteen
Skip any entries returned by `Dir["Library/Taps/*"].each` that are not directories.
2012-10-28formula: shorten path helpersAdam Vandenberg
2012-10-28debrew: formula debugging for homebrewCamillo Lugaresi
A new feature for easing the pain of working with complex formulas, or formulas for large packages. When running brew in debug mode (-d), if an exception propagates outside the formula's install method, you now get a menu which lets you return to the point where the exception was raised and perfom several useful actions, such as: - printing a backtrace - entering IRB to examine the context and test ruby code - entering the debugger (if ruby-debug is available) - entering a shell - ignoring the exception or proceeding with the raise as normal Signed-off-by: Max Howell <mxcl@me.com> * Fixed conflict in build.rb. * Removed old debug handling in Formula.brew. Closes Homebrew/homebrew#10435.
2012-10-28Specify where to get the CLT packageMax Howell
2012-10-28Homebrew should not ignore curlrcStephen Nelson
Added doctor check for .curlrc rather than silently ignoring it (#13836). Closes Homebrew/homebrew#15419. Signed-off-by: Max Howell <mxcl@me.com> Removed test in doctor where it actually curl'd a file. It's enough to warn if the curlrc exists. I understand people want to remove the warnings, but the point in the doctor is to help diagnose and not to be some ramification of your UNIX system.
2012-10-28Use cc -E, not cpp -E. Fixes Homebrew/homebrew#15402.Max Howell
2012-10-27Pathname: add exec and jar helpersAdam Vandenberg
Closes Homebrew/homebrew#13318.
2012-10-25tests: define assert_empty for Ruby <= 1.8Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25ComparableSet#merge returns selfJack Nagel
Set#merge is supposed to return self, and Formula#recursive_requirements depended on this being true. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25test_cleaner: add missing requireJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25Allow requirements to record tagsJack Nagel
To allow depends_on :x11 => :optional and friends to work as expected, make requirements record any tags and add special handling to the X11Dependency to record both a minimum version and additional tags. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-25Move requirement subclasses to a separate fileJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-24FormulaInstaller: disambiguate show_header usageJack Nagel
show_header should default to false (we don't want to display it in the case of installing a single formula without dependencies), but it only worked this way by accident. The assignment "show_header = true" creates a local variable named show_header, and in the case where needed_deps is empty and this assignment is not actually executed, the latter usage evaluates the local variable instead of calling the method. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-24Return the block value in ARGV.filter_for_dependenciesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-24doctor: check that Xcode prefix actually existsAdam Vandenberg
Closes Homebrew/homebrew#14373.
2012-10-24Cleaner: add (commented-out) debugging information for permission changesAdam Vandenberg
The cleaning step changes permissions on files. Added a commented-out block that will show permission changes when doing verbose builds. Since this output is not generally useful for even normal verbose builds, added as commented-out code (I'm sorry) so that maintainers can uncomment it when this functionality is needed for debugging.
2012-10-23Make --ignore-dependencies work againAdam Vandenberg
2012-10-23Fix Keg testsMisty De Meo
* unreverse expected/actuals * don't assume linked file order is guaranteed - it wasn't!
2012-10-22Add relinking instructions.Adam Vandenberg
Closes Homebrew/homebrew#15488.
2012-10-22Latest Xcode is 4.5.1Adam Vandenberg
2012-10-21Allow varags to skip_cleanAdam Vandenberg