homebrew-core/Formula/hub.rb
Mislav Marohnić 0cc724e4bf hub: update homepage
Closes Homebrew/homebrew#21182.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-07-12 18:29:30 -07:00

20 lines
533 B
Ruby

require 'formula'
class Hub < Formula
homepage 'http://hub.github.com/'
url 'https://github.com/github/hub/archive/v1.10.6.tar.gz'
sha1 'e29d158c65a10ef3889f4af438bf1fb50fbd0536'
head 'https://github.com/github/hub.git'
def install
rake "install", "prefix=#{prefix}"
bash_completion.install 'etc/hub.bash_completion.sh'
zsh_completion.install 'etc/hub.zsh_completion' => '_hub'
end
test do
HOMEBREW_REPOSITORY.cd do
assert_equal 'bin/brew', `#{bin}/git ls-files -- bin`.strip
end
end
end