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
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
e1c9e24920
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
Adam Vandenberg
e7d7ceccee
Allow archs_for_command to take Pathnames. Fixes Homebrew/homebrew#1106 .
2010-04-03 11:51:46 -07:00
Adam Vandenberg
0b56c62bf5
Add support for rar archives.
2010-03-31 12:10:08 -07:00
Jake Good
8ce7abce73
More hashing refactoring to work with byte chunks
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-30 09:24:12 -07:00
Joshua Peek
04855ddd48
fix github version parser with multidigit number
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27 14:01:19 -07:00
Jake Good
9fbc26a39f
More effective use of incremental MD5 to eliminate loading entire tarball into memory
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-23 21:23:25 -07:00
Adam Vandenberg
6586f89a29
Add md5 on 'brew create' if we can figure it out.
2010-03-22 21:19:20 -07:00
Adam Vandenberg
ff03763931
brew create - warn if version cannot be determined from URL.
2010-03-22 14:10:31 -07:00
Adam Vandenberg
d84b1711d0
Fix external perl checker.
2010-03-19 14:03:44 -07:00
Adam Vandenberg
9cf7845015
Bug fix: gcc_4_0_1 wasn't removing sse4 flags correctly.
2010-03-17 15:33:37 -07:00
Adam Vandenberg
3825535310
Move recommended compiler versions into constants.
2010-03-16 20:58:12 -07:00
Robert Shaw
ca313defe4
Add GCC 4.0 info to --config output.
...
* Adds GCC 4.0 version info to --config output.
* Splits gcc_build into gcc_40_build and gcc_42_build.
* Adds alias gcc_build to gcc_42_build for compatibility.
* Updates Xcode checking to also check GCC 4.0 version.
These changes are a combination of work by AdamV and my work
on my Tiger branch. This information would be useful for all
installs since some formulae compile with GCC 4.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-16 20:46:10 -07:00
Adam Vandenberg
098b97801b
Use tab/space when finding vars (and not newlines).
2010-03-16 12:00:00 -07:00
Martin Kühl
d03411775f
Fix change_make_var!
for empty variables.
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-16 11:54:09 -07:00
Eero Saynatkari
f56e96dfff
1.9 fix, String is not an Enumerable.
...
* Removed use of String altogether since all use cases
are Arrays currently. YAGNI.
* #max_by would have been more elegant, but this way we
can support 1.8.6.
Signed-off-by: Max Howell <max@methylblue.com>
I made the diff less gratuitous. Don't bloat diffs to meet personal coding style preferences :P
Closes Homebrew/homebrew#896
2010-03-13 14:36:47 +00:00
Adam Vandenberg
485d480722
Add a snapshot of ENV to BuildError and show some flags with the stack trace.
2010-03-11 15:58:17 -08:00
Max Howell
c29219e27c
Actually remove info pages in skip step
...
Lets stop removing docs and doc (though moving share/docs to share/doc would make sense) as I was being lame when I decided nobody ever needs local documentation.
I still wouldn't use it (the INTRAWEBS is pretty good nowadays), but I admit, for some people, it's essential.
2010-03-10 12:20:21 +00:00
Adam Vandenberg
1e7a71bfef
Change the return value of Pathname.install.
...
The change to Pathname to support renaming changed the return value.
This commit puts it back, so the associated unit test passes again.
2010-03-08 23:42:01 -08:00