This project is mirrored from https://github.com/Homebrew/brew.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Sep 16, 2009
-
-
Hunter Morris authored
Signed-off-by:
Max Howell <max@methylblue.com> Homebrew doesn't install to man, but if it's already there, we should indeed ignore it.
-
Darcy Laycock authored
See Library/Contributions
-
Max Howell authored
For this to work the "running script" must be the formulae file. Making this so wasn't so hard, there is now an install.rb script which is included with the -r flag to the ruby executable. An at_exit handler calls the install function. Having the install logic in its own file made it feel like there was so much space that I added extra error handling. So there is something to be said for separating functionality out into its own files. Still the error handling sucks, we'll need to marshall the exception back to the bin/brew command. Which is another PITA. Still overall I think this will prove worthwhile. But if it doesn't we'll revert. As a first usage, you can put a diff after __END__ and return DATA from Formula::patches to make Homebrew aware of it.
-
Max Howell authored
-
Brian Smyth authored
This change also eliminates the somewhat duplicate codepath if patches returns and Array rather than a Hash.
-
- Sep 15, 2009
-
-
Joshua Peek authored
-
David Höppner authored
-
Clinton R. Nixon authored
Signed-off-by:
Max Howell <max@methylblue.com> I didn't commit it all, apologies. But I just can't read the sections nearly as easily if you indent private and protected. If it's a Ruby convention it frankly seems at odds with the rest of Ruby spacing conventions.
-
Max Howell authored
-
Clinton R. Nixon authored
Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.
-
Sean Wolfe authored
Signed-off-by:
Max Howell <max@methylblue.com> I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
-
Max Howell authored
Points to eg. Cellar/wget/var rather than Cellar/wget/1.1.5/var Discussion: 1689bbc326f1201ea979178ebcadba344abf2568
-
Max Howell authored
-
- Sep 12, 2009
-
-
Max Howell authored
Link to @ddemaree's installer .pkg.
-
Max Howell authored
Renamed to Formula::class_s.
-
Max Howell authored
Included test this time!
-
- Sep 11, 2009
-
-
Joshua Peek authored
-
Adam Vandenberg authored
Added a utility method to get an array of architecture names for a given executable. This will be useful for, say, figuring out what Python was compiled for, to know what to compile a C-based module as. Signed Off By: Max Howell <max@methylblue.com> I added a test and made the function use `which` if the path provided is not absolute. I considered allowing relative paths, but then it is possible for the function to take eg. the svn binary from the current directory when you meant the one in the path, and that could be a confusing bug.
-
Adam Vandenberg authored
Brew fails if a tool (make, or whatever) doesn't return an exit code of 0. This patch displays the non-zero code on failure, so we can better diagnose what caused the build to fail (or if we need to add that exit code as exception 'success code'.)
-
Max Howell authored
Fixes Homebrew/homebrew#40
-
Max Howell authored
I removed this months back as I found it confusing, does it mean: prefix+'share' or prefix+'share'+name() But honestly, it's obvious, it's the former. It's the same as the other path functions.
-
Max Howell authored
So when people do what it says and list the info we know in advance their OS version.
-
Pierre Riteau authored
Signed-off-by:
Max Howell <max@methylblue.com> I also added the essential missing `brew prune` step.
-
- Sep 07, 2009
-
-
Étienne Barrié authored
-
Étienne Barrié authored
-
Max Howell authored
This is because I have observed two people confuse make with the "make" tool and thus assume `brew make' is `brew install'. `brew make' will be deprecated at 0.7, until then it shows a warning.
-
- Sep 06, 2009
-
-
Max Howell authored
Only delete the file that is downloaded if an error occurs while downloading it.
-
Max Howell authored
Seems to be an issue with Ruby system() call doing a double fork.
-
Max Howell authored
Pressing CTRL-C during installs would remove the prefix but not the keg directory. brew list would then report this keg as installed, even though it was empty.
-
scoates authored
Defaulting to EDITOR, then checking for the mate command, and then using vim as a last resort. Signed Off By: Max Howell <max@methylblue.com> Plain brew edit still uses Textmate though because a client that supported a project concept is required for that particular feature. Patches for that welcome.
-
- Sep 05, 2009
-
-
Max Howell authored
I patched the patch wrongly.
-
Andre Arko authored
Example usage: brew search w # formulae containing w brew search ^w # formulae starting with w No parameters lists all packages. Also adds puts_columns to util, and uses it for output. Signed Off By: Max Howell <max@methylblue.com> I changed the command from 'available' to search because this is more similar to how other tools call this function. The short form is -S, which is the "pacman" tool equivalent.
-
Max Howell authored
For when we optimize too much and things seem to break. In my experience the GCC optimizer is pretty safe nowadays, but at least this allows you to test the hypothesis the optimization is breaking the build.
-
Max Howell authored
-
Max Howell authored
Means unshift doesn't work, but well, that's almost a feature :P
-
Eloy Duran authored
New method which uses RubyCocoa with the FSEvents API from Rucola to watch if files aren't installed outside the Homebrew prefix. Right now the paths being watched are: /System, /usr, /etc, /sbin, /bin, and /Applications.
-
Adam Vandenberg authored
Signed Off By: Max Howell <max@methylblue.com> I realised that -msse4.1 and -msse4.2 aren't supported by GCC 4.0, so I made the brash decision that we require GCC 4.2. It comes with Xcode 3.1 so people can upgrade if they have to. Requiring a single compiler is better for us anyway -- less possible errors and failures. Formulae can still request gcc-4.0.1, but at least then those formulae still only use a single compiler and not possibly two.
-
Max Howell authored
Still too long, but it reads marginally better.
-
- Sep 04, 2009
-
-
Bjørn Arild Mæland authored
-
Max Howell authored
The fix is to error out if GCC isn't installed, and to ensure we aren't setting CC and CXX to something that doesn't exist.
-