Max Howell
bae67c110f
Fix inreplace and yajl formula
2009-08-10 18:12:16 +01:00
Max Howell
7653d48443
ENV.libpng
...
libpng and that are in the X11 formula
2009-08-10 18:12:16 +01:00
Max Howell
dccc2b1923
Apply new ENV capabilities to all existing Formulae
2009-08-10 18:11:22 +01:00
Max Howell
5a396fd8b4
Extend ENV to make tweaking the build environment easier
...
eg. ENV.libpng or ENV.deparallelize
2009-08-10 16:48:21 +01:00
Max Howell
a5ca752658
Refactor and clean up code
2009-08-01 18:10:20 +01:00
Max Howell
7cb9c31f3e
Determine best optimization flags for host
...
We call sysctl to determine which exact Mac model we are running on and
optimize as well as possible.
2009-07-31 16:06:14 +01:00
Max Howell
9b19f194cc
Refactor $foo into HOMEBREW_FOO
...
CONSTANTS are the far saner choice for these important parameters.
Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell
822a30e39d
Fix inreplace when using ' or other RegExp symbols
...
Evidence that using perl from the cli for in-replace is stupid :P
Had to use $'' to allow escaping of ' in bash strings.
Wasn't escaping regexp symbols as well, so it was amazing this worked at all!
2009-07-27 16:20:48 +01:00
Max Howell
7ebe8084ec
Enforce 10.5 as minimum OSX SDK framework to use
2009-07-27 16:18:17 +01:00
Max Howell
fb5aefd4a0
Refactor--object orientate where sensible
2009-07-24 23:57:54 +01:00
Max Howell
5eb9d6519d
Fix ack formula
2009-07-23 04:12:25 +01:00
Max Howell
34955880d5
Fix issues with Pathname.install and arrays
2009-07-23 01:14:22 +01:00
Max Howell
32281b7a7f
Fix hard link dissociation bug
...
strip unlinks the file first, breaking hard links, so we detect instances where we are about to strip a file with many linkages and prevent it.
This fixes the libexec non executable bug in the git package.
Took me a long time to figure out what was wrong! :P
2009-07-22 20:28:42 +01:00
Max Howell
17968f51c4
Support gloox version style
2009-07-10 03:11:05 +01:00
Max Howell
3f61cb19a4
Make scripts executable by default
...
Though maybe we should only do that if they were before?
2009-07-10 00:36:16 +01:00
Max Howell
dba2a53216
Use ~/Library/Caches not ~/Library/Application Support for http-cache
2009-06-28 17:35:04 +01:00
Max Howell
a648e46d8a
Leave permissions of installed files in sensible state
...
No write permission for files, executable when required etc.
2009-06-26 13:05:48 +01:00
Max Howell
6e9a564021
foobar-1.2.1rc1 version pattern
2009-06-18 10:31:23 +01:00
Max Howell
b1a628cc99
mv share/doc/name-version to share/doc/name
...
Versioned docs don't make sense with our installation pattern
2009-06-18 10:31:15 +01:00
Max Howell
eaad8393fd
Rename mv_from to install
2009-06-15 00:55:18 +01:00
Max Howell
b3b78eceeb
Test for astyle versioning
2009-06-15 00:54:58 +01:00
Max Howell
a2c723e326
Formula.man1 function is useful to us
2009-06-08 15:58:52 +01:00
Max Howell
26590df324
Pathname.mv_from is useful to us
2009-06-08 15:57:58 +01:00
Max Howell
9003225a34
Another version test
2009-06-08 15:57:24 +01:00
Max Howell
21a935bb02
clean deep into lib and bin dirs
2009-06-08 11:44:04 +01:00
Max Howell
71a6287409
Handle exceptions during install correctly
...
rm -rf the prefix and build dirs when appropriate.
2009-06-08 11:43:28 +01:00
Max Howell
cbbc7b0f0f
Better version extraction and more flexible funcs
2009-06-08 11:42:28 +01:00
Max Howell
b3b14a7e0a
Refactor class heirarchy
2009-06-05 23:39:56 +01:00
Max Howell
fe28368697
Catch all exceptions in brew
...
And thus recover from errors always, not just sometimes.
2009-06-05 23:36:40 +01:00
Max Howell
97eb5a8292
Move caveat handling to brew tool
2009-06-05 13:43:49 +01:00
Max Howell
e585686b01
Fix GithubGistFormula
2009-06-05 12:57:37 +01:00
Max Howell
96ddd7ee05
Bump VERSION to 0.2
2009-06-05 07:49:45 +01:00
Max Howell
ddfd15bcf2
mkpath prefix before install in brew command
2009-06-04 19:39:05 +01:00
Max Howell
cc50131728
Created /Library moved brew tool to /bin
...
Moved Forumla and Cellar/homebrew into Library.
This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00