17 Commits

Author SHA1 Message Date
Markus Reiter
d1995dad4b Use a Formulary-like approach to load Casks. 2017-03-16 12:10:19 +01:00
Markus Reiter
9d512be63c Convert brew irb test to spec. 2017-02-23 21:19:30 +01:00
Markus Reiter
0ab750bf24 Use module_function for commands. 2016-10-02 00:24:47 +02:00
Max Nordlund
fa1fd70a37 Add all the top level comments 2016-04-10 22:59:25 +02:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Jack Nagel
f937e5f920 Forward arguments in IRB formula helpers 2015-01-04 21:37:27 -05:00
Baptiste Fontaine
fe0c57cd0f brew irb --help replaced with --examples
The --help flag is intercepted by brew.rb and prints the global usage
string. `irb` is never called when `brew irb --help` is executed.

Closes Homebrew/homebrew#35466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03 21:31:26 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Jack Nagel
09e483c946 Fix typo 2014-06-19 19:15:40 -05:00
Jack Nagel
10a1952d2c Only "extend self" once on the Homebrew module 2014-06-19 13:10:36 -05:00
Adam Vandenberg
ad320c96fd irb: pass strings to factory, not symbols 2013-06-23 13:07:55 -07:00
Jack Nagel
136aa4c6f4 Remove last use of deprecated Formula#recursive_deps
Fixes Homebrew/homebrew#19107.
2013-04-10 11:55:02 -05:00
Max Howell
113ed85e8d More brew irb examples 2012-08-31 10:22:10 -04:00
Max Howell
e7c05f558b String.f convenience function for brew irb
eg. "ack".f
2012-08-30 22:54:45 -04:00
Max Howell
ebb894073d brew irb uses correct Ruby
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
2012-08-21 12:09:07 -04:00
Max Howell
9fffbde987 brew irb fix
Broke when I removed `require 'formula'` from ARGV.rb.
2012-08-14 09:14:26 -04:00
Max Howell
7c8a2656f0 New command brew irb
Works rather damn well.

I considered `brew -i`, but we aren't a shell.
2012-08-06 14:41:55 -04:00