| Age | Commit message (Collapse) | Author |
|
This was one of the first ones I wrote, so it lacks some of our more recent touches.
|
|
Follow symlinks when trying to find HOMEBREW_RUBYLIB.
Signed-off-by: Max Howell <max@methylblue.com>
This is now supported usage, it wasn't before. I amended the patch quite heavily because it broke our other supported usage, ie. complete symlinking of Homebrew into /usr/local
|
|
GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
|
|
Because people didn't realise it was actually curl and thus supports eg. ftp too.
|
|
You generally don't want to have to copy the configuration to a new directory when you upgrade.
|
|
|
|
|
|
This is generally the right thing to do. It should fix more build problems than it hinders. Especially on Snow Leopard.
This fixes the pngcrush build.
|
|
We don't duplicate, so libxml and that are already provided by OS X. Mercurial is provided by easy_install.
I'm adding this to save people contributing stuff that we won;t accept. I hate disappointing people :(
|
|
|
|
|
|
|
|
|
|
|
|
Determine all directories that aren't Homebrew ones.
Exec find.
I prefer to keep short stuff in bin/brew so people reading the code have a better idea of what happens, and what sort of functions are useful for the sorts of things we do with Homebrew.
|
|
|
|
|
|
|
|
The Contributions/selflink.sh script does not symlink the .git directory,
so 'brew update' will fail because the prefix (/usr/local/) is not a git
repository.
To determine the actual location of the git repo we can get the realpath
of the Library (to expand any symlinks) and take the parent of that.
|
|
Thanks to boztek for spotting this. I'll commit a test shortly.
|
|
I'm not sure about this still, as if you uninstall mysql do you want to lose
all the var stuff it created? Maybe. Probably not.
But there were issues unresolved having it in the unversioned-keg. So I'd
rather look at this again later, and fix the bugs without hacks for now.
|
|
|
|
|
|
|
|
|
|
Pass in a list of any files that you don't want cleaned
with a path relative to the cellar. e.g. `strip_paths ['bin/znc']`
It's backwards compatible with def strip_clean?, at least for now.
The znc formula is updated as an example.
|
|
|
|
Signed-off-by: Max Howell <max@methylblue.com>
I removed whitespace changes and changed readlink to realpath as readlink raises if it's not a link.
|
|
|
|
So now it does ignore new stuff in root but not in the dirs we like.
|
|
|
|
|
|
Very quick way to find files not installed by homebrew.
Taken from a command by mxcl on the homebrew wiki.
.DS_Store files and bin/brew are ignored.
|
|
This was adapted from adamv@d5e78ee26535dec4b11c33d14832a9ee945a29fd
I decided prompting would was the most usable solution here, as the stem is
unlikely to be useful so the user would have to rename the file and change
the class name as well as type the command once and then again with --force.
Dissent welcome.
Fixes Homebrew/homebrew#15
|
|
Signed-off-by: Max Howell <max@methylblue.com>
I added ENV tests.
|
|
|
|
Which makes me wonder if it's worth it? Oh well, you can't find these things
out without experimentation.
|
|
Closes Homebrew/homebrew#66
|
|
|
|
We shouldn't mess with the user's PATH anyway. So assume our users are smart and just warn them about potential issues instead.
|
|
|
|
|
|
|
|
Our build directories are space-less, but the final destination may have
spaces, especially since OS X often uses your full name as your home directory
path.
|
|
|
|
|
|
That'll teach you!
|
|
|
|
|
|
|