Ferdinand Niedermann
f523662ce5
brew depstree: shows a tree of dependencies for a formula
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-29 10:43:12 -07:00
Adam Vandenberg
7fa3208b02
Add warning about m4 macros.
2011-03-29 10:02:56 -07:00
Mike McQuaid
a2aa0c0bff
Fix brew bottle to work with refactor branch.
2011-03-29 10:26:03 +01:00
Dave Lee
30a4161c83
Use Formula#installed_prefix for brew --prefix formula
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-28 22:47:21 -07:00
Adam Vandenberg
7c4289d446
Fix inheritance style in download strats.
2011-03-28 19:53:43 -07:00
Adam Vandenberg
8c7ac47c85
brew doctor - add check for CLICOLOR_FORCE
2011-03-28 11:57:57 -07:00
Adam Vandenberg
9f8432bfcf
brew doctor - reword stray dylib message
2011-03-28 11:51:59 -07:00
Adam Vandenberg
3fcacb041d
brew doctor - also check permisisons on share
2011-03-28 11:48:45 -07:00
Adam Vandenberg
89720e1d20
Use MacOS.xcode_prefix
2011-03-28 11:14:32 -07:00
Adam Vandenberg
8f7972c194
reword audit
2011-03-28 11:08:42 -07:00
Adam Vandenberg
6d7f608d06
remove whitespace
2011-03-26 10:19:45 -07:00
Adam Vandenberg
145bafbc4e
Move 'fails_with_llvm' into formula DSL.
...
Existing method moved to compatibility layer.
2011-03-25 23:31:28 -07:00
Austin Ziegler
007b9e72d5
Adding version detection to sf.net /download urls
...
SourceForge links can end with /download which appears to be part of
what is used to drive mirror selection. Modifying the version detection
extension of pathname.rb to detect this case for both sourceforge.net
and sf.net download selections.
This is sufficient for version detection but may not be sufficient for
other uses of /download links. I have not found any problems with links
that use /download, though.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-25 22:30:10 -07:00
Simon COURTOIS
846087d585
Removing svn+ when using svn+http to avoid Undefined tunnel scheme error
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-22 10:18:23 -07:00
Jonas Pfenniger
c2c21edae4
brew up: star installed formulae
...
When running `brew up`, if a mentioned formulae is also installed,
it will get a wildcard start at the end.
It makes it easier to see if any installed formulae is impacted.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-21 22:10:39 -07:00
Jonas Pfenniger
163c1c52d0
utils.rb: removed unused cols argument
...
cols is calculated in the function body
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-21 22:10:30 -07:00
Adam Vandenberg
529066d24d
Document 'brew options --all'.
2011-03-21 13:14:06 -07:00
Adam Vandenberg
84fbdd795f
update manpage for brew audit --strict
...
This removes the single use of 'brew audit --warn' and
changes it to --strict as well.
2011-03-21 13:07:14 -07:00
Adam Vandenberg
716da2dfbd
brew audit: add strict check for <Formula spacing
2011-03-21 13:07:14 -07:00
Adam Vandenberg
ace8723caf
Add audit for xcodebuild.
...
xcodebuild should be passed an explicit SYMROOT, since the user
can override this.
Also added --strict, so certain audits can be ignored in most
cases (including this one.)
2011-03-21 12:54:00 -07:00
Adam Vandenberg
8556961034
add --verbose to brew install completion
2011-03-21 12:42:10 -07:00
Adam Vandenberg
3c3d8661dc
Remove ENV dump from top of verbose install.
...
If an install fails, the ENV dump at the end of the output is more
useful, as it reflects any ENV changes done in def install.
2011-03-21 10:23:18 -07:00
eregon
b6506fb4ea
use Module#const_get instead of eval
...
* may be a problem if the constant is scoped (like A::B), but this is not the case
(const.split('::').inject(Object) { |c, part| c.const_get part } would solve that)
* this was noticed in a comment of 9afc85ad but it has disappeared
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 19:12:29 -07:00
Yasuharu NAKANO
aefb144048
Fix for installing from_url
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 09:06:51 -07:00
Adam Vandenberg
ebb6a98d67
Use --depth 1 more conservatively
2011-03-19 14:30:35 -07:00
Adam Vandenberg
b5c0f9ea03
Fix brew --cellar foo
2011-03-19 11:06:51 -07:00
Adam Vandenberg
6fda61cde4
brew options: allow --all
2011-03-19 09:58:42 -07:00
Adam Vandenberg
43f77f6ad0
Add methods to ArchitectureListExtension
2011-03-19 09:49:17 -07:00
Adam Vandenberg
8b4645d895
Use backticks instead of popen
...
Using popen here breaks brew install -v due to the way
the error pipe is passed around during install.
2011-03-19 09:14:59 -07:00
Adam Vandenberg
d8c2642b6d
Add MacOS.prefer_64_bit?
...
Moved snow_leopard_64? to compatibility and replaced it with
a function MacOS.prefer_64_bit?. This method is in a better
place and has a better name once Lion comes out.
Fixes Homebrew/homebrew#4710
2011-03-18 10:30:26 -07:00
Camillo Lugaresi
22afb1cc43
make fails_with_llvm work when cc is llvm-gcc
...
Closes Homebrew/homebrew#4693 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-03-17 17:49:14 +00:00
Mike McQuaid
ec0ae5ee99
Use xcode_path for GCC as well as LLVM.
2011-03-17 17:21:42 +00:00
Adam Vandenberg
e68a4d3e37
Add --use-gcc to bash completion
2011-03-16 16:31:39 -07:00
Adam Vandenberg
de5ac72534
Fix keg-only, non-system dupes
2011-03-15 22:46:20 -07:00
Adam Vandenberg
30fdd7a49b
install - change keg-only warning
2011-03-15 22:04:13 -07:00
Adam Vandenberg
63846c7a92
keg-only: provide more info about system dupes
...
System duplicates can now provide more information about why
they are included in Homebrew.
2011-03-15 22:03:23 -07:00
Adam Vandenberg
9995f9a651
keg - use proper inheritance style
2011-03-15 21:48:24 -07:00
Adam Vandenberg
2eb0065ced
brew audit: check that homepage includes the protocol
2011-03-15 21:40:09 -07:00
Adam Vandenberg
5f5fdb3284
Fix regex for svn+http
...
Fixes Homebrew/homebrew#4683
2011-03-15 09:41:23 -07:00
Adam Vandenberg
9104fdba8c
Fix reporting of build errors.
2011-03-14 15:48:35 -07:00
Mike McQuaid
80f98a1a19
Don't make brew doctor complain about Xcode 4.
2011-03-14 21:00:51 +00:00
Mike McQuaid
87529a8cdd
X11 is part of OSX, not Xcode.
2011-03-14 21:00:51 +00:00
Adam Vandenberg
522ed0050f
Add comment to ENV.libxml2
2011-03-14 13:58:30 -07:00
Adam Vandenberg
c6e069bfe5
Fix bug in reporting curl errors
2011-03-14 13:30:46 -07:00
Joshua Peek
80886ff34a
brew info should fetch remote formula info
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-14 10:18:39 -07:00
Adam Vandenberg
b02d25bccd
Add ruby lib to folders handled specially by keg.link
2011-03-13 12:19:27 -07:00
Max Howell
4abf493670
Remove unused exception; Closes Homebrew/homebrew#4652
...
If version cannot be determined, then instruct the user to add one.
2011-03-13 16:16:17 +00:00
Max Howell
6d628d7a74
brew
by itself prints help but exits with non-zero
2011-03-13 13:42:48 +00:00
Max Howell
69361de450
Move the Dir.getwd after help
...
Because we should always be able to help. And I've checked, it works fine.
2011-03-13 13:42:32 +00:00
Max Howell
ec9cbc6466
Optimise/simplify brew help
...
Be more useful by being more concise. I referenced dozens of other mature commands’ usage to figure out what to do here.
Also separated out the help into its own command for consistency.
2011-03-13 12:54:30 +00:00