Jack Nagel
944ac75b24
Use Formula#tap to get the repository name
2014-09-07 16:06:47 -05:00
Jack Nagel
269405995e
Simplify getting the list of doctor checks
2014-09-07 14:20:37 -05:00
Jack Nagel
20923363c9
Avoid intermediate array
2014-09-07 14:07:12 -05:00
Jack Nagel
d0ecd08c90
Avoid intermediate array
2014-09-07 14:07:06 -05:00
Jack Nagel
829b6289f5
brew-test-bot: check for hg in requirements
2014-09-07 12:53:50 -05:00
Jack Nagel
51ffcc761f
Fix typo
2014-09-07 12:39:09 -05:00
Jack Nagel
4652be33b9
brew-test-bot: install hg before fetching if necessary
2014-09-07 12:32:40 -05:00
Jack Nagel
50f0146f51
brew-test-bot: less code in begin block
2014-09-07 12:31:46 -05:00
Josh Larson
a316a07251
Fix comma splice in outdated brew message
...
Closes Homebrew/homebrew#32123 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-06 00:29:16 -05:00
Jack Nagel
23c73e2147
Remove unnecessary closed? guard
...
The debugger can't jump back to this point, so we don't have to worry
about this code executing twice.
2014-09-05 16:56:07 -05:00
Jack Nagel
fd0ba6904f
Less code in begin block
2014-09-05 15:36:08 -05:00
Jack Nagel
638363ac8b
Ensure log file is closed
2014-09-05 15:23:00 -05:00
Jack Nagel
7c47060702
Flush log stream before exec
2014-09-05 15:13:53 -05:00
Jack Nagel
b9c796999b
Cache result of ARGV.verbose? on the stack
2014-09-05 15:13:53 -05:00
Jack Nagel
a3409a179e
Reduce branches and effective scope of some variables
2014-09-05 15:13:53 -05:00
Jack Nagel
34ea00783c
Skip allocating a pipe entirely in non-verbose mode
2014-09-05 15:13:52 -05:00
Jack Nagel
a211b61441
Don't pass the read end of the pipe to exec_cmd
2014-09-05 15:13:52 -05:00
Jack Nagel
2efe4cc3b5
Log directly to the log file in non-verbose mode
2014-09-05 15:13:52 -05:00
Jack Nagel
effddda4f9
Promote log stream to a local
2014-09-05 15:13:52 -05:00
Jack Nagel
479ad0265b
Reduce effective scope of pipe variables
2014-09-05 15:13:52 -05:00
Jack Nagel
659896fda2
Extract body of child process to a method
2014-09-05 15:13:52 -05:00
Jack Nagel
bbf79f5d85
Make logging cheaper in the non-verbose case
2014-09-05 01:22:01 -05:00
Jack Nagel
03abf83472
Add timestamp and argument list to log files
2014-09-05 00:36:39 -05:00
Jack Nagel
6638d08489
doctor: print values of DYLD_* env vars
2014-09-04 17:33:33 -05:00
Jack Nagel
e5ea0bcd65
Hack around Zlib constant conflict
2014-09-04 01:28:46 -05:00
Mike McQuaid
d3150f3a06
audit: fix line number typo.
...
Closes Homebrew/homebrew#32031 .
2014-09-02 11:50:00 +01:00
Jack Nagel
fe1bf57a15
audit: fix line number off-by-one
2014-09-01 23:25:16 -05:00
Misty De Meo
4743fc1662
Add Go language module, resources
...
This introduces a new GoResource category of resource. GoResources
have a specialized stage method which allows a resource to stage
itself into a gopath.
The new Go language module provides a one-liner to stage all
GoResources present in the formula.
2014-09-01 19:56:43 -07:00
Misty De Meo
aec47d8a19
resource: escape slashes from download_name
...
This is useful to be able to write go resources using their package
name as the resource name
2014-09-01 19:56:43 -07:00
Jack Nagel
356c391dfb
Rewrite fails_with tests as tests for CompilerFailure
2014-08-31 13:40:51 -05:00
Xu Cheng
329e357d9a
plist_caveats: simplify the block and add a comment
...
Closes Homebrew/homebrew#30630 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-31 19:18:11 +01:00
Xu Cheng
ddf22735db
plist_caveats: remove launchctl list
as it requires sudo for root services
2014-08-31 19:18:11 +01:00
Xu Cheng
369de0a05d
brew-services: mkpath first if destination dir not existed
2014-08-31 19:18:11 +01:00
Jack Nagel
372945299d
Use the accessors to update the test double
2014-08-30 23:41:12 -05:00
Jack Nagel
8b338bd534
Test CompilerSelector against a SoftwareSpec instance
2014-08-30 23:38:48 -05:00
Jack Nagel
eec50f0a9a
Remove unnecessary empty block
2014-08-30 23:25:46 -05:00
Jack Nagel
2e2c348944
Test fails_with against spec objects
2014-08-30 23:25:46 -05:00
Jack Nagel
842b051aa7
Test against real CompilerFailure objects
2014-08-30 23:11:02 -05:00
Jack Nagel
b4a634903e
Remove obsolete nil check
2014-08-30 23:11:02 -05:00
Jack Nagel
97f89877e3
Convert deps collections to arrays first
2014-08-30 16:36:40 -05:00
Jack Nagel
7bfb12aa45
Install dependencies before an interactive install
...
Closes Homebrew/homebrew#29121 .
2014-08-30 15:02:47 -05:00
Jack Nagel
73956a1b77
Use different variable name
2014-08-30 10:24:42 -05:00
Mike McQuaid
efb02aa79d
brew-test-bot: check dependencies' compilers too.
2014-08-30 13:28:53 +01:00
Jack Nagel
309001fd9f
Fix tests on 1.8
2014-08-30 02:01:17 -05:00
Jack Nagel
d18c016a27
Use cp because install warns on empty arrays
2014-08-29 22:51:10 -05:00
Jack Nagel
1ec1d36301
Copy config.log even if the build succeeds
2014-08-29 22:35:41 -05:00
Jack Nagel
977ae5f27d
Collapse iteration to a map
2014-08-29 19:38:32 -05:00
Jack Nagel
750d7bb2c8
Options internals no longer need to support switches
2014-08-29 19:38:32 -05:00
Jack Nagel
b14851903c
Add a method for retrieving only flags from ARGV
2014-08-29 19:38:32 -05:00
Jack Nagel
6885f588d0
Move handling of leading dashes to Options.create
2014-08-29 19:38:32 -05:00