homebrew-core/Formula/git-gerrit.rb
Baptiste Fontaine e6013b721f git-gerrit: test added
Closes Homebrew/homebrew#39760.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-15 09:09:16 +01:00

17 lines
468 B
Ruby

class GitGerrit < Formula
homepage "https://github.com/fbzhong/git-gerrit"
url "https://github.com/fbzhong/git-gerrit/archive/v0.3.0.tar.gz"
sha256 "433185315db3367fef82a7332c335c1c5e0b05dabf8d4fbeff9ecf6cc7e422eb"
head "https://github.com/fbzhong/git-gerrit.git"
def install
prefix.install "bin"
bash_completion.install "completion/git-gerrit-completion.bash"
end
test do
system "git", "init"
system "git", "gerrit", "help"
end
end