David Porter
3a7a3619f7
Fix the update tests
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2010-05-12 09:20:15 -07:00
Adam Vandenberg
ea8ebf7899
Improve archs_for_command
...
* Work on commands or dylibs
* Use an extension for the list of arches
2010-05-10 20:40:16 -07:00
Adam Vandenberg
2f66b19e56
Allow SVN to report cache location.
2010-05-07 10:38:48 -07:00
Adam Vandenberg
63bc05379a
Move dump_build_env to utils and use during installs too.
2010-05-06 07:23:59 -07:00
Adam Vandenberg
7d065840de
Let GitDownloadStrategy report its cache location.
2010-05-05 21:20:11 -07:00
Adam Vandenberg
990b16a768
Merge keg_only? blocks in installer.
2010-05-02 18:12:48 -07:00
Adam Vandenberg
59591e48b0
Tweak formatting in previous commit.
2010-05-02 16:53:26 -07:00
Yarrow
28a2879b60
Show digest mismatch in verify_download_integrity
...
Report "Expected <supplied digest>, got <file's digest>"
when verify_download_integrity sees a mismatch. (It had
been, confusingly, reporting "Expected <file's digest>".)
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2010-05-02 15:49:50 -07:00
Adam Vandenberg
88468879c8
Add check for gettext to brew_doctor.
...
If the user has linked the keg-only gettext, then a large number
of formulae which don't have "depends_on 'gettext'" will pick it
up anyway. Knowing this about the user's setup may help diagnose
bug reports.
2010-05-01 10:50:14 -07:00
Adam Vandenberg
ac730f2c8a
Update gcc version checks in brew_doctor
...
brew_doctor's gcc version checks wasn't taking into account the case
where the user doesn't have one or both of GCC 4.0.x and 4.2.x installed.
2010-05-01 09:02:18 -07:00
listrophy
a4e6393408
Add 'Arrandale' for core i7 MBP
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2010-04-29 11:51:05 -07:00
Adam Vandenberg
ee8c805b65
Fix universal builds on 32-bit CPUs.
2010-04-22 17:23:59 -07:00
Adam Vandenberg
53f4316a8b
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
12c98c9a5b
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
a27864d054
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
a680b66fc4
Do not assume /Developer when checking LLVM. Fixes #1160 .
2010-04-15 13:07:59 -07:00
Adam Vandenberg
63f75fbe19
Use Array#length instead of count. Fixes #1165
2010-04-12 13:09:51 -07:00
Adam Vandenberg
d4866a19e2
Make mod_wsgi and mod_python arch code more similar.
2010-04-12 11:22:47 -07:00
Martin Kühl
b57dec71fb
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
bada8fe2e6
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
a4dc535a5a
Quote prefix for git submodules. Fixes #1009
2010-04-08 21:01:09 -07:00
Adam Vandenberg
08aa9e7a02
Test that Homebrew's bin is in the path.
2010-04-08 20:17:47 -07:00
Chris Thachuk
8933132d1b
Adds support for git submodules. Fixes #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
61279fa018
Only check @specs for :using if @specs exists. Fixes #1127 .
2010-04-06 13:13:50 -07:00
Adam Vandenberg
2f8011b2e6
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
1ec2eb331b
Remove silly concatenation.
2010-04-06 09:33:39 -07:00
Adam Vandenberg
980acfd2d2
Change homepage. Fixes #105 .
2010-04-06 08:29:33 -07:00
Adam Vandenberg
e48b73f21f
Move ENV tests to separate file.
2010-04-06 08:27:12 -07:00
Adam Vandenberg
2926d9a8b2
Split out some Formula tests.
2010-04-06 08:27:12 -07:00
Adam Vandenberg
c6dc5f8661
Switch test_bucket over to use testing_env.
2010-04-06 08:27:12 -07:00
Adam Vandenberg
fd823136f6
Move Pathename property tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
09be718d31
Move ARGV tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
3473320bc0
Move utils tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
6bb6c16184
Tests for Pathname.install.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
48980c06c1
Merge Formula class name tests
2010-04-06 08:27:11 -07:00
Adam Vandenberg
5dd30cbf39
Add external deps. tests.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
9c4623c427
Move TestBall definition to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
13f63b18a8
Move checksum tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
c550e83613
Move version tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
a4e3dcf514
Move inreplace tests to separate file.
2010-04-06 08:27:11 -07:00
Adam Vandenberg
61d35f06ca
Tests - remove some unused includes
2010-04-06 08:27:11 -07:00
Adam Vandenberg
5f9067262f
Move hardware detection tests to separate file.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
0e549bd8e0
Move install tests to separate file.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
68e81b5a6a
Move updater tests to separate file.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
2efd382e3a
Add tests for patching.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
8c448ca360
Add new "testing environment" include.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
bf56c82c84
Add shell script 'tests' to run ruby test suites.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
46bbea89d0
Remove silly concatenation.
2010-04-06 08:27:10 -07:00
Adam Vandenberg
3154b1f60b
Add pkg-config check.
2010-04-06 08:22:29 -07:00
Adam Vandenberg
39ed52eba5
Add path check.
2010-04-06 08:22:29 -07:00