aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/examples
AgeCommit message (Collapse)Author
2012-03-18Rename external commands directory from examples.Mike McQuaid
Fixes #10829.
2012-03-10Use new Requirements code in HomebrewAdam Vandenberg
2012-03-10Make `brew-bottle` an internal command.Mike McQuaid
2012-03-06'brew doctor' provides bad example commandJonathan Hitchcock
If there are multiple dependencies missing, 'brew doctor' can suggest that you run something like: brew install autoconf libyaml autoconf, libyaml This commit improves that output. Closes #10720. Signed-off-by: Max Howell <max@methylblue.com>
2012-03-03brew-man: only exit 1 when an error occursNicolas Despres
Because of "set -e" in non verbose mode brew man had an exit status equals to 1 whereas there was no error. The reason was that the "test" command failed. This patch fix this. Closes #10664. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01missing: adjust to new ARGV.formulae behaviorJack Nagel
Since 25aefdd ("don't complain if args are empty"), ARGV.formulae does not raise an exception; `brew missing` was relying on that to determine what set of formulae to act on. Fix this, and also a typo. Fixes #10617. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25brew-pull should build bottles.Mike McQuaid
2012-01-29Fix brew-bottle output for new bottle syntax.Mike McQuaid
2012-01-27Add beer recipe. This is homebrew after all.Cameron Barrie
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-16Don't bottle unless built with correct flag.Mike McQuaid
Closes #9350. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-11-27Move brew-depstree into `brew deps --tree`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-24brew-pull: Clarify comment concerning whitespaceCharlie Sharpsteen
2011-10-24brew-pull: Add flag to suppress whitespace fixesCharlie Sharpsteen
When the pull request includes a patch, fixing whitespace can break the patch.
2011-10-14brew-unpack: define fails_with_llvm? as falseJack Nagel
brew-unpack was failing for formulae that satisfy fails_with_llvm? as handle_llvm_failure() requires our ENV extension to get ENV.compiler. Rather than requiring extend/ENV, just define fails_with_llvm? as false since we don't really care about that when just unpacking a formula. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-11Ensure cache folder existsAdam Vandenberg
2011-09-30Fix gem install help for brew-serverAdam Vandenberg
Sinatra gem must be installed for the system ruby.
2011-09-30List all local installed packages in brew serverat@an-ti.eu
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-26missing should not error if Cellar does not existAdam Vandenberg
2011-09-19mirror support: External command for mirror testsCharlie Sharpsteen
`brew mirror-check <formula...>` will process a list of Formulae and check their mirrors to see if they are reachable and the MD5 sums are valid.
2011-09-18brew-missing: use name accessor on Formula objectsJack Nagel
Commit 00cd16f changed oudated_brews to return a list of Formula objects rather than a list of lists containing formula information. Now we must access the formula name by using the 'name' accessor rather than an array index. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12brew-unpack: Apply patches and use formula optionsCharlie Sharpsteen
`brew-unpack` now runs `Formula.brew` and copies the stage directory to the unpack location. This provides two improvements: - Patches may be applied. The `patch` metho of the Formula class is overloaded such that patches are only applied if the `--patch` option is passed to `brew unpack`. - Formula can respond better to flags passed by `ARGV`. Some trickery is pulled to ensure `DATA` is correctly set for each unpacked formula.
2011-08-26brew-pull: Allow pull request numbers as argumentsCharlie Sharpsteen
If an integer is passed to `brew-pull`, such as `brew pull 6600`, it will be interpreted as a pull request number. This has the same effect as the more verbose command line: brew pull https://github.com/mxcl/homebrew/pull/6600
2011-08-25Output bottles to CWDMax Howell
Rationale: more typical.
2011-08-24`brew upgrade`Max Howell
Consequence: you can no longer install when something is already installed, you must upgrade it. This doesn't apply if the formula in question was unlinked. You can still --force installs though. Rationale: the old way of installing over the top would leave symlinks to multiple versions in /usr/local if the old version had a file the newer version didn't. The new upgrade command handles everything properly.
2011-07-29linkapps: also search for bin/*.appCharlieRoot
Qt and PhantomJS install apps to this folder, so find those apps too. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-29Commands should not have side-effectsMax Howell
Don't install when bottling. Homebrew should bottle whatever is installed. If nothing is installed, error out.
2011-07-21brew pull --install should build from source.Mike McQuaid
2011-06-22Print SHA1 after bottling.Mike McQuaid
2011-06-19brew-which: also check sbin and lib foldersAdam Vandenberg
2011-06-19which: allow <formulae> argsAdam Vandenberg
Also clean-up this external command in preparation for becoming a built-in command. Make which_versions available in Homebrew module so that it can be used by other commands in the future.
2011-06-05Also link apps found in libexecAdam Vandenberg
2011-06-01brew-linkapps: Support --HEAD buildschrisg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-19Add new external command: unpackCharlie Sharpsteen
`brew-unpack` is inspired by the `unpack` command of Haskell's Cabal. `brew unpack <formulae ...>` will fetch the source code archives of one or more formula and extract them into subfolders of the current working directory. An alternate root directory may be specified by invoking the `--destdir` flag. This provides some nice advantages for inspecting source code compared to `brew install -i -f <formula>`: - The extracted source code won't be deleted when the Ruby process terminates---which allows for long-term experimentation. - The user has control over which directory the code is extracted into. - No install process is initiated, so accidentally typing the equivalent of `exit 0` will not cause `brew` to mess with an existing installation. - Several formulae may be unpacked at once. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-13brew missing: allow a formula argumentAdam Vandenberg
If a formula is given, it will be checked for missing deps. The formula does not have to be installed first. Without a formula list, still checks all installed brews.
2011-03-29brew depstree: shows a tree of dependencies for a formulaFerdinand Niedermann
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-29Fix brew bottle to work with refactor branch.Mike McQuaid
2011-03-12Add 'brew grep' external command.Adam Vandenberg
2011-03-12'brew fetch' now an official commandAdam Vandenberg
2011-03-12'brew options' now an official commandAdam Vandenberg
2011-03-12'brew test' now an official commandAdam Vandenberg
2011-03-12Some CleanupMax Howell
2011-03-12Move brew-audit to cmdsAdam Vandenberg
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2011-02-20New options: `brew graph`Martin Kühl
Accept any options that `brew deps` accepts. Default to `--all` to preserve previous behaviour. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-20brew-audit - check formula versionsAdam Vandenberg
2011-02-04brew --compactAdam Vandenberg
2011-01-02brew-pull: Only append "Closes" to last commit.Mike McQuaid
2011-01-02brew-pull: Handle multipatch pull requests better.Mike McQuaid
2010-12-30brew-pull: only use matched string for url.Mike McQuaid
2010-12-30Improve brew pull to close issues.Mike McQuaid