Adam Vandenberg
0818189b5d
Fix stripping of keg-only reasons
2011-07-30 10:11:35 -07:00
Max Howell
7e2411eb4d
Remove "boring" args from the pretty_args only
...
Dumb mistake. Sorry.
Closes Homebrew/homebrew#6722
2011-07-30 11:20:23 +01:00
Max Howell
3cda43a681
Don’t display boring configure arguments
2011-07-29 11:58:41 +01:00
Adam Vandenberg
02b09e311f
formula.rb: put bottle attrs on separate line
...
This line is getting long, and having these on a separate line
will help with some rebasing in some work-in-progress branches.
2011-06-22 14:13:44 -07:00
Mike McQuaid
f2e018d747
Return an array from options.
2011-06-22 17:48:20 +01:00
Mike McQuaid
6d3c488d4a
Renaming pouring method to pourable?.
2011-06-22 17:48:20 +01:00
Mike McQuaid
bd2fa562c3
Add stub options method.
2011-06-21 22:28:54 +01:00
Mike McQuaid
5d7e796617
Only pour bottles when not building from source.
2011-06-21 19:25:39 +01:00
José Martínez
d1aac6bc03
Allow --use-clang to override fails_with_llvm
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 20:45:56 -07:00
Adam Vandenberg
8f896f9d2c
Style changes related to bottling.
2011-06-16 08:41:16 -07:00
Mike McQuaid
31dea3b800
Add changes to Homebrew internals for bottling.
2011-06-08 22:19:10 +01:00
Adam Vandenberg
760bbb4e36
Remove debugging puts
2011-06-08 11:34:01 -07:00
Adam Vandenberg
5d5a8ed32f
Better support for brew install <url>
...
Brews installed via URL are now checked from the cache when
other commands are run. This allows for instance:
brew install <vim-url>
brew info vim
2011-06-08 11:13:50 -07:00
Jack Nagel
4e65175564
Fix misspelled method name: Formula.canonical_name
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 21:50:37 -07:00
Adam Vandenberg
145bafbc4e
Move 'fails_with_llvm' into formula DSL.
...
Existing method moved to compatibility layer.
2011-03-25 23:31:28 -07:00
eregon
b6506fb4ea
use Module#const_get instead of eval
...
* may be a problem if the constant is scoped (like A::B), but this is not the case
(const.split('::').inject(Object) { |c, part| c.const_get part } would solve that)
* this was noticed in a comment of 9afc85ad but it has disappeared
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 19:12:29 -07:00
Yasuharu NAKANO
aefb144048
Fix for installing from_url
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-20 09:06:51 -07:00
Camillo Lugaresi
22afb1cc43
make fails_with_llvm work when cc is llvm-gcc
...
Closes Homebrew/homebrew#4693 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-03-17 17:49:14 +00:00
Adam Vandenberg
de5ac72534
Fix keg-only, non-system dupes
2011-03-15 22:46:20 -07:00
Adam Vandenberg
63846c7a92
keg-only: provide more info about system dupes
...
System duplicates can now provide more information about why
they are included in Homebrew.
2011-03-15 22:03:23 -07:00
Adam Vandenberg
498ef3372c
Fix inheritance in formula.rb
2011-03-12 17:48:48 -08:00
Adam Vandenberg
2e340625f8
Allow 'brew install' on relative paths
2011-03-12 16:37:56 -08:00
Adam Vandenberg
4f22b70b47
Complain if a formula in core won't import.
2011-03-12 11:55:11 -08:00
Adam Vandenberg
2a5f757816
Use + instead of /.
2011-03-12 11:55:07 -08:00
Max Howell
55bd25ff4c
Formula.resolve_alias to compatability.rb
2011-03-12 11:55:03 -08:00
Max Howell
768910283a
Refactor the brew command into one file per command
...
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
2011-03-12 11:55:02 -08:00
Adam Vandenberg
24e10826f4
Fix GithubGistFormula.
2010-12-22 17:08:53 -08:00
Adam Vandenberg
202663eb0c
Fix installing from local abs. paths.
2010-11-04 13:53:03 -07:00
Adam Vandenberg
d02941e1da
Quash warning.
...
Fixes Homebrew/homebrew#3056
2010-11-03 07:03:50 -07:00
Jamie Macey
b7fa82b28d
fix warnings: ambiguous splat
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:50:54 -07:00
Adam Vandenberg
ea03121688
Allow installation from URLs
...
This allows installation like:
brew install http://example.com/something.rb
Based on an original patch by [dwalters].
Fixes Homebrew/homebrew#160
2010-10-30 14:23:01 -07:00
Joshua Peek
a305360099
Prefer HEAD version if its installed
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-26 09:39:17 -07:00
Adam Vandenberg
9108e3956c
Allow :build dependencies.
2010-10-12 07:13:27 -07:00
Adam Vandenberg
8eaa812711
improve std_cmake_parameters comments
2010-09-29 22:00:24 -07:00
Adam Vandenberg
bb01afce4c
Move resolve_alias from ARGV to Formula
...
Also, call this function from a few places where the code was duplicated.
2010-09-29 21:55:44 -07:00
Adam Vandenberg
18f9969b65
Add formula name to LLVM warning
2010-09-29 21:53:05 -07:00
Adam Vandenberg
400aa9eac9
Don't allow unsupported dep types
2010-09-29 21:44:46 -07:00
Adam Vandenberg
c1e293f5a4
Let 'interactive_shell' take a formula and set ENV vars.
...
Pull duplicate code out of install --debug and install -i up into
'interactive_shell'.
2010-08-20 10:03:44 -07:00
Adam Vandenberg
492748bc0b
Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192
2010-08-16 14:14:46 -07:00
Adam Vandenberg
612ff57894
fails_with_llvm will switch to GCC 4.2 by default
2010-08-09 21:33:30 -07:00
Chris Hoffman
2f3ce485f3
Fix skip_clean :all to actually skip clean step
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-09 08:13:17 -07:00
Brent Fitzgerald
eca31da253
Getting rid of pesky 'warning: parenthesize argument(s) for future version'
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-08 08:25:35 -07:00
Adam Vandenberg
74727560ee
Add 'skip_clean :all' to the DSL.
2010-08-07 18:08:52 -07:00
Adam Vandenberg
bdf245ff98
Add keg-only to DSL
2010-08-07 18:08:52 -07:00
Sam X Nguyen
1bc71794e9
added man subdirectories man2-man8
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-07 18:08:51 -07:00
Adam Vandenberg
1f55ba270d
Sort and line up path helpers
2010-08-07 18:08:51 -07:00
Adam Vandenberg
4873062523
Deprecate using symbols to define deps
2010-08-07 18:08:51 -07:00
Adam Vandenberg
bbaac45e3e
"url" now has same features as "head"
...
Specifically, it can accept all the VCS tag specs that head could,
making it more useful for defining stable versions that come from
VCS instead of tarballs.
A new "SoftwareSpecification" class was added to implement this.
This new class holds a "spec" for downloading a software package.
It combines the url (or head url) with the "specs" [1] that head has
been able to take.
This allows both the stable (url) and unstable (head) specification
for a software package to co-exist without stomping on each others
"specs".
[1] "specs" contain instructions on which branch/tag/revision/etc. to use
from the source repository URL.
2010-08-07 18:08:51 -07:00
Adam Vandenberg
2ac2dbb591
Add 'aka' removal notice.
...
'aka' is no longer used to define aliases, but we'll keep the method
around with a warning so non-master brews have a chance to remove any
aka's; otherwise pushing the change will break private brews and we
don't want to do that.
2010-08-07 18:08:49 -07:00
Adam Vandenberg
7ff5de2ad8
Skip broken formulae
2010-08-07 18:08:48 -07:00