6622 Commits

Author SHA1 Message Date
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
Adam Vandenberg
b23ae3688c Add doctor to bash completion. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
4643f0171b Move dylib check. 2010-04-06 08:22:27 -07:00
Adam Vandenberg
21aaf5d9ea Move brew doctor to its own source file; will get bigger. 2010-04-06 08:22:27 -07:00
Max Howell
dc30e941e7 brew doctor 2010-04-06 08:22:27 -07:00
Adam Vandenberg
bf6c7268b4 Force readme files to not be executable. 2010-04-06 07:50:22 -07:00
Adam Vandenberg
fb9f4bbccc Don't link_dir if the target doesn't exist.
Fixes Homebrew/homebrew#1115 for Ruby 1.9, thanks to assaf.
2010-04-04 13:46:41 -07:00
Adam Vandenberg
d2b2ecbd0b Add test script to extract version from URL/path. 2010-04-04 11:49:09 -07:00
Adam Vandenberg
81f87c69ac Update dump_build_env
* Reorder a flag
* Don't show values if they are empty
2010-04-03 23:24:01 -07:00