diff options
| author | Joshua Peek | 2009-12-11 10:50:15 -0600 |
|---|---|---|
| committer | Joshua Peek | 2009-12-11 10:50:15 -0600 |
| commit | 49e6d55e069e21242a51baaf3bc67c9a6011d1e5 (patch) | |
| tree | 9ecfbf6b31b00a6ea82481492e2116d62df1fd55 /Library/Formula/hub.rb | |
| parent | 2955bc897c3ca60c2bdbb53522df5b346805c5ad (diff) | |
| download | homebrew-49e6d55e069e21242a51baaf3bc67c9a6011d1e5.tar.bz2 | |
New version of hub has an install rake task
Diffstat (limited to 'Library/Formula/hub.rb')
| -rw-r--r-- | Library/Formula/hub.rb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/hub.rb b/Library/Formula/hub.rb index 03ead1b11..c6a0c4cfd 100644 --- a/Library/Formula/hub.rb +++ b/Library/Formula/hub.rb @@ -1,23 +1,17 @@ require 'formula' class Hub <Formula - head 'git://github.com/defunkt/hub.git', :tag => 'v0.1.2' + head 'git://github.com/defunkt/hub.git', :tag => 'v0.1.3' homepage 'http://github.com/defunkt/hub' def initialize(*args) super # Force version instead of HEAD - @version = '0.1.2' + @version = '0.1.3' end def install - # standalone task runs tests which fail - # system 'rake standalone' - system %(ruby -Ilib -rhub -e "Hub::Standalone.save('hub')") - system 'rake man' - - bin.install 'hub' - man1.install 'man/hub.1' + system "rake install prefix=#{prefix}" end end |
