24630 Commits

Author SHA1 Message Date
Adam Vandenberg
7c158e2350 Fix universal builds on 32-bit CPUs. 2010-04-22 17:23:59 -07:00
Adam Vandenberg
54b5a7afbb Add --git option to 'brew install -i'.
This allows for easy generation of diffs, per a trick in
http://wiki.github.com/mxcl/homebrew/formula-cookbook
2010-04-22 10:41:40 -07:00
Adam Vandenberg
0f7b3bd408 Publicize 'brew doctor' in build failure message. 2010-04-20 12:29:17 -07:00
Adam Vandenberg
db62a9ef9c brew doctor now checks pkg-config search path
Homebrew's pkg-config didn't originally add X11 to its search path.
This causes problems for long-time Homebrew users brewing software
that depends on X11-related packages, such as Cairo.
2010-04-20 12:22:51 -07:00
Adam Vandenberg
ab9ccd7d89 Read all formula in a 'rescue' block.
For operations that read all formulae, catch exceptions and
skip broken ones, rather than bomb out entirely.
2010-04-17 09:34:03 -07:00
Adam Vandenberg
9295f9c022 Do not assume /Developer when checking LLVM. Fixes Homebrew/homebrew#1160. 2010-04-15 13:07:59 -07:00
Adam Vandenberg
f144dcab60 Add PATH to --config and ENV dump.
A user's PATH can help diagnose ./configure and other problems in bug reports.
2010-04-14 09:56:28 -07:00
Adam Vandenberg
de21400fd0 Use Array#length instead of count. Fixes Homebrew/homebrew#1165 2010-04-12 13:09:51 -07:00
Adam Vandenberg
3103ff4b9c Make mod_wsgi and mod_python arch code more similar. 2010-04-12 11:22:47 -07:00
Martin Kühl
8fa99572f9 Only respect :using specs when downloading HEAD.
When a formula specifies both an `url` and a `head`, and the latter
specified a `:using` spec, brew would try to fetch the `url` using the
specified download strategy.  With this change, brew respects `:using`
specs only when determining the download strategy for `head`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-10 08:21:24 -07:00
Adam Vandenberg
cfc8fca74d Support jruby external dependencies.
* Add tests that run only if 'jruby' is installed.
* Note that if your formula has :jruby deps, it should likely
  "depend_on 'jruby'" as well.
2010-04-09 11:21:35 -07:00
Adam Vandenberg
72ef9f4aaa Quote prefix for git submodules. Fixes Homebrew/homebrew#1009 2010-04-08 21:01:09 -07:00
Adam Vandenberg
fa06ea6e17 Test that Homebrew's bin is in the path. 2010-04-08 20:17:47 -07:00
Chris Thachuk
3c78d5cf91 Adds support for git submodules. Fixes Homebrew/homebrew#1009.
If submodules exists for a git repo then checkout their index as well
into the appropriate path.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-08 11:26:38 -07:00
Adam Vandenberg
d9fe4f00a4 Only check @specs for :using if @specs exists. Fixes Homebrew/homebrew#1127. 2010-04-06 13:13:50 -07:00
Adam Vandenberg
663ea030fc Allow :using on head to specify a download strategy.
A 'head' in a formula can now specify which download strategy to use via
a ':using' specification:

    head 'http://svn.macosforge.org/repository/darwinbuild/trunk/',
        :using => :svn

This reduces the number of cases where "download_strategy" needs to be
overriden.
2010-04-06 12:54:11 -07:00
Adam Vandenberg
c59a638195 Remove silly concatenation. 2010-04-06 09:33:39 -07:00
Adam Vandenberg
ec926a7f5f Change homepage. Fixes Homebrew/homebrew#105. 2010-04-06 08:29:33 -07:00
Adam Vandenberg
cacb057b91 Move ENV tests to separate file. 2010-04-06 08:27:12 -07:00
Adam Vandenberg
31ebf6a293 Split out some Formula tests. 2010-04-06 08:27:12 -07:00
Adam Vandenberg
5cbab370e4 Switch test_bucket over to use testing_env. 2010-04-06 08:27:12 -07:00
Adam Vandenberg
e4766639dc Move Pathename property tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
a7d74df430 Move ARGV tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
551d42c6a9 Move utils tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
5a6d6fd168 Tests for Pathname.install. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
62de8aa663 Merge Formula class name tests 2010-04-06 08:27:11 -07:00
Adam Vandenberg
ccdffb2c31 Add external deps. tests. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
1f82fe4dc7 Move TestBall definition to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
259ae27cc4 Move checksum tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
4c2a8a7f1c Move version tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
d49230733f Move inreplace tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg
bcb1f61f37 Tests - remove some unused includes 2010-04-06 08:27:11 -07:00
Adam Vandenberg
a5cbf94596 Move hardware detection tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
3123720608 Move install tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
9d127ac3d5 Move updater tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
fd453107c6 Add tests for patching. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
298c74d147 Add new "testing environment" include. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
277e40bc7b Add shell script 'tests' to run ruby test suites. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
1d46991637 Remove silly concatenation. 2010-04-06 08:27:10 -07:00
Adam Vandenberg
06745aa6d1 Add pkg-config check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
a37d53aa89 Add path check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
169aa682e0 Check for root owned locale folders. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
53b1e8ed2b Use here-strings. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
7963dbfce8 Prefix check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
5de328da5c Ruby version check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
0b309aeb2b Stubs for more checks. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
b0330c38a5 Move gcc version check. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
11e779d917 Check both gcc's 2010-04-06 08:22:28 -07:00
Adam Vandenberg
76dac059ac Move port/fink check. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
71f9d74adf Move X11 check. 2010-04-06 08:22:28 -07:00