38364 Commits

Author SHA1 Message Date
Jack Nagel
8f59c84ab2 audit exits with status 1 if there are problems
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-27 22:03:20 -07:00
Adam Vandenberg
7e132a8c46 brew doctor: update autoconf message 2011-05-26 22:19:22 -07:00
Charlie Sharpsteen
85d7d4e16c Add method to ENV for setting up a debug build
`ENV.Og` clears all optimization flags and adds `-g -O0`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-26 07:53:06 -07:00
Charlie Sharpsteen
783be64cf1 Add new external command: unpack
`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-05-19 08:03:08 -07:00
Adam Vandenberg
206c370d74 Move gz-only strategy into core. 2011-05-19 07:37:24 -07:00
Mike McQuaid
f8127143cf Create method for accessing Xcode version. 2011-05-18 17:04:00 +01:00
Adam Vandenberg
dae5a4477b Add remove back to completion 2011-05-14 10:16:52 -07:00
Adam Vandenberg
3718a60c90 brew doctor: find suspicious git newline configs 2011-05-12 08:47:51 -07:00
Adam Vandenberg
d44a0561ea brew doctor: check for stray .la files 2011-05-12 08:10:47 -07:00
Adam Vandenberg
8fea11e764 brew doctor: warn about Mono and CMake 2011-05-12 07:24:10 -07:00
Adam Vandenberg
f4cd85aa49 brew doctor: add check for stray .pc files 2011-05-09 17:23:35 -07:00
Jack Nagel
4e65175564 Fix misspelled method name: Formula.canonical_name
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 21:50:37 -07:00
Jack Nagel
98f51446cb Add the '--use-gcc' flag to the brew man page
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-05 11:36:46 -07:00
Adam Vandenberg
6c51402141 fix_install_names fix for 10.5 2011-05-05 09:48:28 -07:00
Adam Vandenberg
f253cf3b10 brew doctor: check for stray static libs too
CMake will pick up static libs in /usr/local.
2011-05-05 09:40:03 -07:00
Adam Vandenberg
34d8e32a8f manpage - fix typo 2011-05-05 07:37:29 -07:00
Jack Nagel
d88b562926 Update bash completion script
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-04 19:23:39 -07:00
Humza
cfd3bc0b7e Fix name of Mercurial in blacklist
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-01 08:50:39 -07:00
Adam Vandenberg
d7b50a5820 brew doctor: hard-code full path to mount command 2011-04-29 09:15:39 -07:00
Adam Vandenberg
950440dd06 No really, fix llvm_build_version and xcode_prefix 2011-04-26 14:13:53 -07:00
Adam Vandenberg
3ad0e634a3 Fix llvm_build_version to handle xcode_prefix output. 2011-04-26 13:43:41 -07:00
Adam Vandenberg
cfdca92630 Remove reference to 'brew install pip' 2011-04-25 13:13:16 -07:00
Adam Vandenberg
175228b416 Fix audit for new universal handling 2011-04-23 09:06:41 -07:00
Adam Vandenberg
4dbb08a6d8 Add ARGV.build_universal? 2011-04-23 08:36:38 -07:00
Sebastian Staudt
be482fb9ab Fixed reading branch name
The git command now uses --git-dir instead of --work-tree.
Using --work-tree won't work if you are inside another Git repository.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-18 22:30:48 -07:00
Adam Vandenberg
e08ef940be Add --force to brew cleanup 2011-04-18 21:11:08 -07:00
Adam Vandenberg
80ba991324 Edit keg-only message 2011-04-18 10:33:37 -07:00
Adam Vandenberg
90bacc913f ENV: Use /usr/X11 instead of symlink 2011-04-18 10:25:51 -07:00
Birger J. Nordølum
5a10cc8e76 Added SHA-256 to the fetch command.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 15:43:58 -07:00
Adam Vandenberg
d6382efdeb Add brew fetch --deps
`brew fetch --deps` will also cache the dependencies of any listed formulae.
2011-04-14 15:09:15 -07:00
Adam Vandenberg
94a524cce3 brew missing: allow a formula argument
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-04-13 13:48:31 -07:00
Adam Vandenberg
bfd75db803 brew deps: add hidden option -n
-n means 'natural order' instead of alpha-order, and will show
the order in which the deps will be installed.
2011-04-13 13:48:31 -07:00
Kevin Ballard
8bb40e30e9 Remove 'sudo' from the npm installation instructions
Using 'sudo' should not be required to install npm, and isn't if the
user has used the default Homebrew installation process.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-12 16:05:15 -07:00
Adam Vandenberg
e3c6d9bf00 Handle complex $EDITOR values. 2011-04-12 10:09:41 -07:00
Arthur Kalmenson
dfcff44e3e Add pip to blacklist.
Pip was removed in issue 4226.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-11 07:51:36 -07:00
Adam Vandenberg
1eec1ed20f Make brew deps Leopard compatible 2011-04-10 21:13:05 -07:00
Martin Kühl
dafe97b047 Fix formula paths for manually specified names.
When the name of a new formula can't be autodetected, it defaults to the empty
string. When it then gets read from user input later on, the new name is used
but the formula path, based on the name, stays empty.

This change sets the path after a new name was read.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-09 09:43:48 -07:00
Adam Vandenberg
8e0c96c45d Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
e4dce3d1c9 Show which deps will also be installed. 2011-04-07 08:00:12 -07:00
Jannis Leidel
c8d4077256 Use https for issue links at the end of stack traces.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-07 07:36:47 -07:00
Adam Vandenberg
035b216e90 brew create: remind people to 'brew audit' 2011-04-05 08:37:59 -07:00
Adam Vandenberg
bc3225a348 brew create: ensure CACHE folder exists 2011-04-05 08:31:05 -07:00
Adam Vandenberg
e788de8cf8 brew audit: --strict warning for using $ in caveats
For multiple lines of commands to enter at a prompt, don't use
$ as a prompt marker to make it easier to copy/paste.
2011-04-04 16:40:38 -07:00
pascalbertrand
11f3fca867 GitHub - use git for smart https repos
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-04 14:09:41 -07:00
Adam Vandenberg
66110c78e7 brew doctor: add check for GREP_OPTIONS 2011-04-04 09:21:44 -07:00
Adam Vandenberg
29ac3efe2e brew doctor: update expat check
Apaprently both expat.framework and libexpat.framework exist
and interfere with CMake.
2011-04-04 08:48:42 -07:00
Adam Vandenberg
2decef8c36 Fix CLICOLOR_FORCE check 2011-04-01 13:42:12 -07:00
Charlie Sharpsteen
7776f7ee11 Fix brew-audit Fortran check
The Fortran regex only allowed for trailing whitespace after:

    depends_on 'gfortran'

This missed conditional dependencies, such as:

    depends_on 'gfortran' if something?

Such a dependency was present in the NetCDF formula.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-01 13:00:07 -07:00
Adam Vandenberg
78ace67b3f Add audit to bash completion 2011-03-31 11:09:45 -07:00
Adam Vandenberg
4a4186c583 brew doctor - only check unique path folders 2011-03-29 12:45:54 -07:00