| Age | Commit message (Collapse) | Author |
|
|
|
|
|
* Break single test case class into several test cases.
* Fix broken arch test.
* Make update tests optional (seem to only work for mxcl).
* Add more tests.
* Move fixtures to separate folder.
|
|
To existing flag value can be specified with "\\1".
To append values to a flag, call with:
s.change_make_var! "THE_FLAG", "\\1 more-flag-values"
The same trick can be used to prepend or surround values as well.
|
|
|
|
* Instantiate DownloadStrategy instance when creating a formula.
* Rename CurlDownloadStrategy member to clarify what it is for.
* Generate downloaded tarball name in initialize.
|
|
Removing the spaces around equals for make-style variables makes
the change_make_var! method compatible with shell scripts as well
as makefiles.
|
|
|
|
Resolves mxcl/homebrew#158.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Fixes Homebrew/homebrew#488.
|
|
|
|
Stale symlinks may exist, so we may as well fix them up at this juncture.
|
|
If the formula was updated and not yet installed, then cleanup would delete all kegs. Which is most likely not what the user wanted.
Ideally we'd do a version check to figure out which keg is newest. But we don't yet have a function that can determine with accuracy version order.
|
|
|
|
* `brew cleanup foo` removes any unlinked foo kegs
* `brew cleanup` removes all unlinked kegs
|
|
RubyCocoa is a large dependency, and any large system can cause unexpected errors. In this case the user's system was badly setup and RubyCocoa caused a dynamic loader issue.
We don't use beer_events currently due to other bugs that occurred sporadically with its use. So requiring it is unnecessary. So lets save ourselves trouble.
Fixes Homebrew/homebrew#487
|
|
|
|
It causes lots of bugs, for the sake of what is often just a few kilobytes.
|
|
|
|
Fixes Homebrew/homebrew#453.
|
|
CMake ignores the CPPFLAGS and LDFLAGS environment variables. This makes sure CMake finds libraries when homebrew is not installed at /usr/local.
Signed-off-by: Max Howell <max@methylblue.com>
Fixes Homebrew/homebrew#242
|
|
The -Wno-dev CMake parameter suppresses warnings
meant for the developer, not the user.
|
|
|
|
WhoHas requires LWP::UserAgent.
|
|
So far we only added python, but we can add more.
Fixes Homebrew/homebrew#401
|
|
Same as Kernel.system, but prints no output.
|
|
Eg: ['foo', 'bar la'] -> "foo 'bar la'"
|
|
|
|
It's easy to code complete with Ruby, so lets. I love Ruby.
|
|
Not using path.basename for mktemp due to risk of bugs due to incorrect escaping. But mainly, mktemp gives a unique name and this operation is procedural.
|
|
|
|
|
|
|
|
|
|
|
|
Use inject for concision.
Rename to archs from arch as it returns an array.
|
|
|
|
Uses the GitHub issue search API, so it's very neat and concise. However you can get false positives, so it's not 100% useful. Still I think it is more useful than before, which was, nothing.
A further issue is it depends on the ticket at GitHub using the formula's proper name. So we should ensure this as we can.
Finally, it does add a possibly large delay to clean exit after a build error. We may want to fiddle with timeouts if it becomes troublesome.
|
|
Fixes Homebrew/homebrew#354
|
|
Fixes Homebrew/homebrew#295
|
|
Instead tell them to upgrade.
Problem was Xcode 3.0 didn't come with GCC 4.2.
|
|
|
|
There's a whole bunch of other versions of README and that, and we did need to handle them. Just not today.
|
|
Also remove special casing for two existing jar formula.
|
|
|
|
|
|
|
|
|
|
Linking "Library" under prefix is optional, but Library will always
exist relative to the REPOSITORY folder, so use that instead of prefix
for formula paths.
|
|
It has useful progress information and is about 5 lines of text.
|