aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-03-06Doctor check for `python` is Python-3Max Howell
Refs Homebrew/homebrew#9541.
2012-03-06Require specialties at the end of formula.rbJack Nagel
classes in formula_specialties.rb need Formula, so it has to be last. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-05Move llvm method to FailsWithLLVMAdam Vandenberg
2012-03-05shrinkAdam Vandenberg
2012-03-05invert conditionAdam Vandenberg
2012-03-05Move AmazonWebServicesFormula to formula_specialtiesAdam Vandenberg
Enough formulae in core depend on this, pull it in here. When multi-repo support lands, perhaps we could set up Homebrew-AWS.
2012-03-05Move specialized formulae base classes into a new fileAdam Vandenberg
2012-03-05Move path utils out of formula.rbAdam Vandenberg
Make a new module for our FileUtils extensions and use that instead.
2012-03-05Adjust updater tests for `git config` callsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-04keg: allow selective linking at the file levelJack Nagel
Some parts of a keg's tree are not subject to the cleaner, and sometimes we still want to remove things in directories marked skip_clean; this allows us that freedom. If 'lib' is marked skip_clean, we still want to avoid linking the charset.alias file into the top of the tree. The same needs to be done for the locale.alias file in share/locale. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-04Don't allow `brew link` to be run as sudoMax Howell
2012-03-03brew-man: only exit 1 when an error occursNicolas Despres
Because of "set -e" in non verbose mode brew man had an exit status equals to 1 whereas there was no error. The reason was that the "test" command failed. This patch fix this. Closes Homebrew/homebrew#10664. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-02update: disable git line ending conversionJack Nagel
If a user has set core.autocrlf = true (which shouldn't ever be used on OS X, but alas...), a subsequent `brew update` will check out files with CRLF line endings. Setting core.autocrlf = false in Homebrew's repo config will override this global setting, and let us check out files with their in-repository line endings. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01doctor: make `git status` check sanerJack Nagel
The order of things made the check for git in the path pointless (and was my fault); this is a better way to do it. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01doctor: s/folder/directory/Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01audit: check for gfotran in Formula#deps insteadJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01Don't duplicate missing deps in `brew doctor`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-02Clearer brew doctor output for brew missingMax Howell
It was confusing that it told you to brew install missing deps and then listed formula that were already installed IMO.
2012-03-02Specify current Xcode to aid issue-diagnosisMax Howell
I saw a ticket with just doctor output and no `brew --config`. This helps.
2012-03-02Scupper sourceable output if brew install is pipedMax Howell
`brew install > file` should not give "export CC=/foo" output on Build Failures. Also moved the "Using clang" output to brew when BuildError is thrown as that is where it is interesting, and not if you just do `brew --env`.
2012-03-01missing: adjust to new ARGV.formulae behaviorJack Nagel
Since 25aefdd ("don't complain if args are empty"), ARGV.formulae does not raise an exception; `brew missing` was relying on that to determine what set of formulae to act on. Fix this, and also a typo. Fixes Homebrew/homebrew#10617. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01Fix xcode check variable name.Giovanni Bajo
Closes Homebrew/homebrew#10624. Signed-off-by: Max Howell <max@methylblue.com>
2012-03-01Fix typo: '/Application' -> '/Applications'Rob Olson
Closes Homebrew/homebrew#10626. Signed-off-by: Max Howell <max@methylblue.com>
2012-03-01Don't warn about missing Xcode twiceMax Howell
2012-03-01Fix /usr/bin:/usr/local/bin PATH order checkMax Howell
2012-03-01The doctor suggests upgrading XcodeMax Howell
Closes Homebrew/homebrew#9199.
2012-03-01Faster and more legible `brew doctor`Max Howell
Please check for regressions. I was careful, but there was a lot of stuff. Closes Homebrew/homebrew#9409.
2012-03-01Piped `brew --env` outputs in a sourceable formatMax Howell
So you can source `brew --env` to make it easier to build your own software, etc.
2012-03-01Assist more in the template from `brew create`Max Howell
2012-03-01Show doctor error if xcode-select path is invalidMax Howell
Fixes Homebrew/homebrew#10598. Ideally we would show a message for builds that use xcodebuild etc. But there is no easy mechanism for this in place.
2012-02-29Formula.rb: update a commentAdam Vandenberg
2012-02-29Add support for Luarocks dependencies.Adam Vandenberg
2012-02-29Some additional aid for `brew create`Max Howell
2012-02-29Play nice with case-sensitive filesystemsMax Howell
2012-02-29Remove empty directories during uninstallMax Howell
About time we did this right?
2012-02-28Set GIT_DIR when staging git clonesJack Nagel
Some build scripts want to inspect the git history, e.g. to determine version strings. Rather than copy the repository into the build tree, just setting GIT_DIR is enough for things to "just work". Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-28Revert "Writability for /usr/local is no longer required"Max Howell
This reverts commit 21acfc1c7e66babf112196812fdfcf442edf3a97. This was reverted because we tried to leave /usr/local with root permissions, but this caused problems for us. Sorry Rogue Amoeba. I'd suggest not installing your App's tools into /usr/local. It's outside your App's domain, so you can't be sure what will happen there.
2012-02-28audit: automake, autoconf, and libtool are build-time depsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27Show real path to x11 in --config outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27Remove some whitespace hereAdam Vandenberg
2012-02-27Set ACLOCAL_PATH so that things workMax Howell
This should mean all those formula that pass options to aclocal don't need to anymore, but I'm not risking changing them.
2012-02-27Autoconf, Automake and LibtoolMax Howell
We need these now for Xcode-4.3/CLT4X installations. Also prevent m4 error in installer. And prevent brew doctor complaining if we're Xcode 4.3 or above. Closes Homebrew/homebrew#10349. Fixes Homebrew/homebrew#10423. Refs Homebrew/homebrew#9179.
2012-02-26audit: check sbin tooAdam Vandenberg
Apply the 'bin' audit to 'sbin' too, and also complain if subfolders are installed to either.
2012-02-26Fix IO redirection in ENV.xcrunJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-26Make xcode_version work with CLI4.3XMax Howell
Closes Homebrew/homebrew#10460.
2012-02-25List offending jar files when installed to libAdam Vandenberg
2012-02-25inreplace: also warn on plain gsub! usageAdam Vandenberg
2012-02-25inreplace: warn if no substitutions were madeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25Only call patches onceAdam Vandenberg
2012-02-25Add "require hardware" to formula.rbAdam Vandenberg
Now individual formulae don't need to require this if they want to use Hardware methods outside of `def install`.