diff options
| author | Max Howell | 2009-06-26 13:03:49 +0100 |
|---|---|---|
| committer | Max Howell | 2009-06-26 13:03:49 +0100 |
| commit | bcc7c19e8527538bd5a2f8dfc5514335443dbbe9 (patch) | |
| tree | 8498f101750b19e8ba8099be22b67d63bcc4d566 | |
| parent | a5bbf971ba4b4937e418df02fbc4db81a593f5a7 (diff) | |
| download | brew-bcc7c19e8527538bd5a2f8dfc5514335443dbbe9.tar.bz2 | |
brew edit and brew macports commmands
| -rwxr-xr-x | bin/brew | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -217,6 +217,15 @@ begin end raise 'No such keg' if fae.first.nil? and fae.length == 1 puts `find #{fae.join' '} -type f -print` + when 'macports' + exec "open 'http://www.macports.org/ports.php?by=name&substr=#{ARGV.shift}'" + when 'edit' + if ARGV.empty? + exec "mate #{$formula} #{$root}/Library/Homebrew #{$root}/bin/brew #{$root}/README" + else + exec "mate #{$formula}/#{ARGV.shift}.rb" + end + when 'install' shift_formulae_from_ARGV.each do |name| beginning = Time.now |
