aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2013-01-08Cleaner: allow non-empty paths to be pruned from cleaningAdam Vandenberg
2013-01-08Don't remove linked formulas when doing a 'cleanup'Mike Lapinsky
Closes Homebrew/homebrew#16947. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-08Prune LinkedKegs relative to correct pathJack Nagel
Fixes Homebrew/homebrew#16948.
2013-01-08Prevent repeated lookups of nil-valued keysJack Nagel
2013-01-07Allow conversion of Dependencies to ArrayJack Nagel
This is needed for the intersection code in `brew deps` to work right, but can hopefully be refactored away somehow eventually.
2013-01-07Fix brew-test-bot for new test DSL.Mike McQuaid
2013-01-07Detect when tests are definedJack Nagel
2013-01-07Remove Array subclassingJack Nagel
Inheriting from Array (and other core types) is problematic: - It exposes a very wide interface with many methods that are not really relevant to the subclass. - It can cause some weird side effects, as many Array operations are in C and have hardcoded return values; for example, combining two array subclasses returns a new Array instead of the subclass. Avoid these problems using delegation and the Enumerable module where applicable.
2013-01-07Fix local bottle installation with hyphens.Mike McQuaid
2013-01-07version: mark some implementation details as protectedJack Nagel
2013-01-06Allow tests to be specified in the DSLJack Nagel
Tests can now be specified as a block in the DSL. A temporary test directory is set up automatically when calling Formula#test. The semantics of the test remain the same: the block can either raise an exception or return false to signal failure. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-06Document HOMEBREW_BROWSER and BROWSERAdam Vandenberg
2013-01-06brew update: warn about adamv/homebrew-altAdam Vandenberg
2013-01-04Add support for external ocaml deps via opamAlex Reece
Closes Homebrew/homebrew#16280. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-04Only add -F if the frameworks folder existsAdam Vandenberg
Closes Homebrew/homebrew#16901.
2013-01-04audit: remove silly audit, remove duplicate auditAdam Vandenberg
2013-01-03audit: check conflict namesAdam Vandenberg
2013-01-03superenv: make HOMEBREW_FILE availableAdam Vandenberg
Superenv scripts have a stripped PATH, which may not include the brew binary itself. Make this explicitly available to superenv scripts. Fixes bsdmake wrapper. Closes Homebrew/homebrew#16805. Closes Homebrew/homebrew#16846. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-02Guess system XQuartz version when mdfind failsJack Nagel
Fixes Homebrew/homebrew#16857.
2013-01-02brew-pull: add missing require.Mike McQuaid
2013-01-02brew-pull: cleanup installation options.Mike McQuaid
2013-01-02Add caveats class and use in brew info.Mike McQuaid
Probably a better approach than reverted e721c7. Fixes Homebrew/homebrew#16604.
2013-01-02Cleanup FormulaInstaller caveats.Mike McQuaid
2013-01-01Add Apache version style test.Mike McQuaid
2013-01-01Add Apache version style.Cyril Scetbon
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-01Add --homebrew-developer flagMike McQuaid
2012-12-30Fix some doublethink in the Xcode moduleJack Nagel
Xcode.prefix and Xcode.installed? use slightly different heuristics to find Xcode. In fact, .installed? basically duplicates a portion of the .prefix logic. In practice, the methods results are usually consistent, but .installed? does not handle non-standard prefixes if mdfind cannot locate Xcode (for example, if the user has disabled Spotlight indexing). Since .installed? is essentially a subset of the .prefix logic, we can rely on the result from .prefix instead. Fixes Homebrew/homebrew#16790.
2012-12-27Respect BROWSER environment variableJack Nagel
2012-12-27Replace sceaga/homebrew with mistydemeo/tigerbrewMisty De Meo
@sceaga has discontinued his homebrew fork, so tigerbrew is now PPC/ Tiger users' best bet.
2012-12-27utils: replace shell `which` with native codeMisty De Meo
Originally written for tigerbrew, but useful enough for core. Replaces the shelled-out which in utils.rb with a native-ruby equivalent, which is moderately faster. Closes Homebrew/homebrew#16659. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-12-26Allow requirements to specify env optionsJack Nagel
2012-12-26Add a small DSL for setting requirement optionsJack Nagel
2012-12-26Clean up BuildEnvironment interface a bitJack Nagel
2012-12-25brew-test-bot: don't return success from git functionMike McQuaid
2012-12-22brew-test-bot: more Jenkins fixes and cleanup.Mike McQuaid
* Remove the unused HTML and commenting features. * Return a good status code. * Print command output on failure. * Test bottle installation.
2012-12-22Try to find XQuartz via pkgutil if mdls failsJack Nagel
c.f. Homebrew/homebrew#16296.
2012-12-22doctor: add helper for printing file listingsJack Nagel
2012-12-21doctor: f.prefix is already a pathnameJack Nagel
2012-12-21doctor: print offending paths in check_for_gettextJack Nagel
c.f. Homebrew/homebrew#16688.
2012-12-21doctor: rename path_folders to pathsJack Nagel
2012-12-21doctor: use a more rubyish conditionalJack Nagel
2012-12-21doctor: avoid pointless creation of pathname objectJack Nagel
2012-12-21doctor: run slowest checks lastJack Nagel
2012-12-21Make "XQuartz is installed" heurstic stricterJack Nagel
2012-12-19brew-pull: Don't pipe diff stats through the pagerCharlie Sharpsteen
Pass the `--no-pager` flag to git when grabbing a diff summary for a patch as there is no good reason to invoke a pager for ~2-10 lines that the user must then exit manually.
2012-12-19cleanup: fix 1.8.6 compatibilty issueJack Nagel
Fixes Homebrew/homebrew#16655.
2012-12-18upgrade.rb: Generate Tab from Keg not FormulaCharlie Sharpsteen
Two issues were preventing `brew upgrade` from functioning properly: - `Tab.for_formula` was used to recover options from prior installs. The problem is that during an upgrade `for_formula` will be directed to a non-existant install of the newer version and thus returns a forged tab claiming no options were invoked. - The assignment to `installer.install_bottle` requires parenthesis in order to function properly.
2012-12-17Better reporting for MacPorts/Fink installationsJack Nagel
closes Homebrew/homebrew#15853.
2012-12-16Revert "Add launchctl_instructions method"Jack Nagel
This code makes assumptions about the existence of prefix which are valid in the context of the installer, but not necessarily in the context of `brew info`, thus `brew info` on an outdated formula errors out. This reverts commit e5b53dd64b769b67805d1054d906f7083939d905.
2012-12-16Add launchctl_instructions methodLorenzo Manacorda
Closes Homebrew/homebrew#16604. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>