Mike McQuaid
6bf0433595
brew-test-bot: nuke cache on cleanup.
2014-01-07 16:40:30 +00:00
Christian Moritz
3651c0cb58
create: fix typos
...
Closes Homebrew/homebrew#25709 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00
Mike McQuaid
44d23c8d40
detect_cxx_stdlibs: ignore executables.
2014-01-07 08:49:37 +00:00
Mike McQuaid
cb0b6a0fa3
create: always use double quotes.
2014-01-07 08:11:02 +00:00
Mike McQuaid
5f060a09ff
CONTRIBUTING: add Ruby style guide.
2014-01-05 14:43:37 +00:00
Mike McQuaid
6047e67d35
bottle: improve "not installed" message.
...
Fixes Homebrew/homebrew#25546 .
2014-01-04 14:50:13 +00:00
Mike McQuaid
744a8944b0
caveats: show python caveats if modules installed.
2014-01-04 13:19:20 +00:00
Mike McQuaid
cdbc7c9e53
Pathname: add methods to write env scripts.
2014-01-04 13:19:20 +00:00
Mike McQuaid
996c7bd7d1
ENV: add method to prepend and create a PATH.
2014-01-04 13:19:20 +00:00
Mike McQuaid
ea1ae32a13
formula: fix whitespace.
2014-01-04 13:19:20 +00:00
Misty De Meo
c247f66a13
stdenv tests: add gcc-4.0 test
2014-01-04 01:37:19 -08:00
Misty De Meo
51d8270abd
ENV.gcc: remove raise
...
This raise happened in no other ENV methods, and isn't really necessary
since fails_with guards against this method actually being called unless
gcc-4.2 is actually installed.
2014-01-04 01:22:04 -08:00
Misty De Meo
d7a6161751
Recommit ENV changes
2014-01-04 01:20:56 -08:00
Mike McQuaid
3cf2cc853d
Revert "stdenv: fix self.cc check"
...
This reverts commit 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1.
2014-01-04 09:14:28 +00:00
Mike McQuaid
e3bb6f6e0b
Revert "default_cc: locate already returns Pathnames"
...
This reverts commit 8ec6123d439e8f4d3586bbca6a426b726bd5e9dd.
2014-01-04 09:14:27 +00:00
Mike McQuaid
4866fd670f
Revert "default_compiler: recognize gcc-4.0"
...
This reverts commit bedcbb806bb8a991a1317b4ccde8d16b6974cc46.
2014-01-04 09:14:26 +00:00
Mike McQuaid
1dcf726a59
Revert "stdenv: set correct compiler symbol for gcc 4.0"
...
This reverts commit f4dc5614953b3b90acc28c83262d56587b0616b1.
2014-01-04 09:14:25 +00:00
Misty De Meo
bdd2e71b3a
stdenv: set correct compiler symbol for gcc 4.0
2014-01-03 19:13:35 -08:00
Misty De Meo
ce97caed34
default_compiler: recognize gcc-4.0
2014-01-03 18:25:09 -08:00
Misty De Meo
a6c838b08a
default_cc: locate already returns Pathnames
2014-01-03 18:24:54 -08:00
Misty De Meo
97bb9c5b73
stdenv: fix self.cc check
...
Since ENV.cc/cxx are accessors to ENV, any values being passed through
are coerced into strings, which means that a nil `ENV.cc` is actually
an empty string - which isn't considered to be false in Ruby.
Fixes mistydemeo/tigerbrew#161 .
Fixes mistydemeo/tigerbrew#135 .
2014-01-03 17:59:00 -08:00
Mike McQuaid
5413ebca53
exceptions: remove unused AlreadyTappedError.
2014-01-03 21:57:07 +00:00
Mike McQuaid
4dd6f0cb4c
install, update: AlreadyTappedError never raised.
2014-01-03 21:57:06 +00:00
Mike McQuaid
95e6a634b4
tap: never throw AlreadyTappedError.
...
Just make it a warning instead.
Closes Homebrew/homebrew#25511 .
Closes Homebrew/homebrew#25617 .
2014-01-03 21:56:57 +00:00
Mike McQuaid
220c6fade1
README: add Gittip link.
...
Closes Homebrew/homebrew#20482 .
2014-01-03 21:42:54 +00:00
Mike McQuaid
d4db3d5d40
dependency: don't try and expand yourself.
...
This can happen on e.g. fossil where the dependency HEAD requires having
an install of fossil in order to check it out. Bit of a silly edge case
but this handles it.
Fixes Homebrew/homebrew#25605
2014-01-03 21:33:07 +00:00
Misty De Meo
31ed0d6505
Add python27 dependency
...
Fixes Homebrew/homebrew#25561 .
Fixes Homebrew/homebrew#25410 .
2013-12-30 13:20:58 -08:00
Mike McQuaid
bc7810e07e
README: show Homebrew core contributors.
2013-12-30 10:48:16 +00:00
Mike McQuaid
677cdff228
Fix Homebrew/python case.
2013-12-28 12:47:13 +00:00
Mike McQuaid
5b95710254
homebrew-python has moved to Homebrew org.
2013-12-28 12:14:38 +00:00
Josh Tilles
410121d8ed
Replace template’s j1
with deparallelize
...
Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.
Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!
Closes Homebrew/homebrew#25431 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-27 16:58:55 -06:00
Jack Nagel
7a3e9149e0
bottle: fix updating formulae with sha256 checksums
2013-12-27 16:43:34 -06:00
Jack Nagel
ec2cd31c1d
bottle: use formula path accessor
2013-12-27 16:43:34 -06:00
Jack Nagel
c95b90a022
Don't send, just call the method directly
2013-12-27 16:19:43 -06:00
Jack Nagel
e29cbc5a48
Drop unnecessary Pathname creation
2013-12-27 16:09:31 -06:00
Jack Nagel
2e22465aa4
Apply the same filtering to -I paths as -L paths
2013-12-27 15:46:36 -06:00
Jack Nagel
b745d21912
superenv: don't accidentally filter out HOMEBREW_TEMP
...
Fixes Homebrew/homebrew#25471 .
2013-12-27 13:01:41 -06:00
Jack Nagel
ccc0eb98ba
Escape prefix when interpolating into regexp
2013-12-27 13:01:41 -06:00
Christian Moritz
b50d5126ee
brew-test-bot: check requirements default_formulae
...
With this brew-test-bot doesn't skip builds, if a requirement isn't
satisfied but a default_formula is specified.
This default_formula is already in dependencies, because of brew deps.
Closes Homebrew/homebrew#25398 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-23 18:35:50 +00:00
Jack Nagel
3cec3e36e9
cleaner: use ObserverPathnameExtension
2013-12-22 13:43:51 -06:00
Jack Nagel
095d83d10b
cleaner: reorganize clean_dir to avoid repeated conditional
2013-12-22 13:43:50 -06:00
Jack Nagel
676f29d757
Drop unnecessary string conversion in skip_clean
2013-12-22 13:43:00 -06:00
Jack Nagel
5e1cbb50c1
cleaner: add more tests for current behavior
2013-12-22 13:43:00 -06:00
Jack Nagel
d19934dcb7
cleaner: clean up broken and orphaned symlinks
2013-12-21 23:28:04 -06:00
Jack Nagel
f55e93d9fc
cleaner: add test to demonstrate that empty prefixes are removed
2013-12-21 23:28:03 -06:00
Jack Nagel
8430307fa5
cleaner: add tests to document current pruning behavior
2013-12-21 23:28:03 -06:00
Jack Nagel
b57e6006a6
cleaner: add tests to demonstrate some current failures
2013-12-21 23:28:03 -06:00
Jack Nagel
554490f9e0
cleaner: slightly less coupling in tests
2013-12-21 23:28:03 -06:00
Jack Nagel
e480206464
cleaner: fix permission debug output
2013-12-21 23:28:03 -06:00
Jack Nagel
0bb7c4d3ed
prune: remove unnecessary .sort
2013-12-21 21:37:26 -06:00