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
Adam Vandenberg
58129a88c7
Check for root owned locale folders.
2010-04-06 08:22:29 -07:00
Adam Vandenberg
c130b1b18b
Use here-strings.
2010-04-06 08:22:29 -07:00
Adam Vandenberg
89cae07aaa
Prefix check.
2010-04-06 08:22:29 -07:00
Adam Vandenberg
75ad97a13e
Ruby version check.
2010-04-06 08:22:29 -07:00
Adam Vandenberg
636b429b6e
Stubs for more checks.
2010-04-06 08:22:28 -07:00
Adam Vandenberg
ff28073ee3
Move gcc version check.
2010-04-06 08:22:28 -07:00
Adam Vandenberg
d6a4a20a21
Check both gcc's
2010-04-06 08:22:28 -07:00
Adam Vandenberg
84254c57b5
Move port/fink check.
2010-04-06 08:22:28 -07:00
Adam Vandenberg
25ba35c162
Move X11 check.
2010-04-06 08:22:28 -07:00
Adam Vandenberg
184a920fe5
Move dylib check.
2010-04-06 08:22:27 -07:00
Adam Vandenberg
5b83d260ea
Move brew doctor to its own source file; will get bigger.
2010-04-06 08:22:27 -07:00
Max Howell
60796b75cb
brew doctor
2010-04-06 08:22:27 -07:00
Adam Vandenberg
c5b4ccee01
Force readme files to not be executable.
2010-04-06 07:50:22 -07:00
Adam Vandenberg
219bf175d4
Don't link_dir if the target doesn't exist.
...
Fixes #1115 for Ruby 1.9, thanks to assaf.
2010-04-04 13:46:41 -07:00
Adam Vandenberg
e609640610
Add test script to extract version from URL/path.
2010-04-04 11:49:09 -07:00
Adam Vandenberg
f4852f2fbf
Add s.get_make_var
...
This allows more complicated transformations to happen,
such as stripping out part of the variable.
2010-04-03 17:54:49 -07:00