aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
AgeCommit message (Collapse)Author
2015-04-21Inline error messageJack Nagel
2015-04-20Simplify setting load pathJack Nagel
2015-02-06brew.rb: fix help regex.Roberto Nibali
Don't match `help` at the end of every string because `brew installhelp` shouldn't really be running help. Closes #36559. Closes #36576. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-15brew.rb: remove unneeded exit code duplication.Mike McQuaid
Fixes comments made in: https://github.com/Homebrew/homebrew/commit/91c267bdb1607334febaac3272ccc62ada6ae4fd#commitcomment-9146910.
2015-01-04brew.rb: return exit code from internal commands.Mike McQuaid
2015-01-03Remove unnecessary encoding commentsJack Nagel
These files do not contain any non-ASCII characters.
2014-10-02Move SCM wrappers from Contributions to ENV/scm.Mike McQuaid
Closes #32615. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-09-24brew: add contributed tap commands to PATH.Mike McQuaid
This means that taps root and `cmd` directories are added to the PATH. This should enable migration of some of our contributed commands into taps (e.g. `homebrew-boneyard`) and make it easy for third parties to be able to maintain these. It might also make stuff easier for existing tools like e.g. `brew-cask` and `boxen`. Closes #32471.
2014-07-13Fix reference to ISSUES_URLJack Nagel
Fixes #30848.
2014-06-26brew.rb: handle single usage flag case.Mike McQuaid
2014-06-26brew: guard --help with nil cmd.Mike McQuaid
2014-06-26brew.rb: handle -—help for internal/external cmds.Mike McQuaid
Only display —-help for internal commands and not for external ones; they can handle the flag themselves. Closes #26675. References #26755. Closes #30300.
2014-06-03Switch to "Current" Ruby framework symlinkJack Nagel
Closes #29795. Closes #29819.
2014-05-27--help and --version only apply as first argumentAdam Vandenberg
This fixes external commands that provide their own help and version subcommands. Closes #26755.
2014-05-04Don't attempt to require nilJack Nagel
Fixes #28942.
2014-05-02Simplify HOMEBREW_LIBRARY_PATH usageJack Nagel
2014-05-02No need to put vendor on the load pathJack Nagel
2014-05-02`require` accepts PathnamesJack Nagel
2014-05-02Set ENV variables to strings, not pathnamesJack Nagel
2014-05-02Use File::PATH_SEPARATORJack Nagel
2014-05-01Rename Xcode.folder to MacOS.active_developer_dirJack Nagel
This reflects what Apple calls it in more recent versions of Xcode/OS X.
2014-04-30--config -> configAdam Vandenberg
2014-04-15Xcode.bad_xcode_select_path? is used only once, so inline itJack Nagel
2014-04-11brew: allow external cmds to use Homebrew.failed.Mike McQuaid
2014-04-01Reorganize conditional to avoid shelling out if possibleJack Nagel
2014-02-14brew: check for --help and friends in more of ARGVMike McQuaid
Let's check for e.g. --help anywhere in the ARGV array rather than just the first value to avoid brew upgrade --help causing problems. Closes #26675. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-13xcode-select check: move after first optionsMisty De Meo
2013-12-13Adjust bad xcode-select path exit codeMisty De Meo
2013-12-13brew: error out if bad xcode-select path givenMisty De Meo
Since a bad xcode-select path can cause many brew commands to freeze, it's worth warning users and bailing out as early as possible. The doctor check wasn't good enough, since the doctor could freeze before the warning about this was ever printed.
2013-11-01Remove "-c1" one-line configJack Nagel
This is broken and nobody noticed, so remove it. Closes #23878.
2013-10-30Cleanup use of some global constants.Mike McQuaid
2013-10-22Avoid comparing MacOS.version to floatsJack Nagel
2013-10-19Move verbose ENV setup out of brew.rbJack Nagel
2013-10-18Improve superenv add/remove message.Xiyue Deng
* Now it includes all flags that are added or removed by superenv when passing "--verbose" or envvar VERBOSE or HOMEBREW_VERBOSE is set.
2013-10-18Add OS.mac? and OS.linux?Jack Nagel
2013-09-15change wordingAdam Vandenberg
2013-06-08Consolidate sudo checks.Adam Vandenberg
Closes #20318.
2013-03-28brew.rb: drop constant reassignmentJack Nagel
Closes #18807.
2013-03-21Replace remaining shelled-out `which`esMisty De Meo
2013-03-02Normalize magic encoding commentsJack Nagel
2013-02-21brew: use a shell wrapper script for brewMike McQuaid
This reverts commit dfd4dd12a41e1697ee9d5feac12cc1ea7c3a590e. Fixes the problems from #17683 and #17685.
2013-02-21brew: move to Library/brew.rbMike McQuaid
This reverts commit ac156b36d00ead5f225389f0a1d8069d0c1cce4a.
2013-02-08Revert "brew: move to Library/brew.rb"Mike McQuaid
This reverts commit 67d06b84d00a17cf43770eedf34e37e50e209741. Closes #17683. Closes #17685.
2013-02-07brew: move to Library/brew.rbMike McQuaid