2012-01-01 17:09:15 +00:00
|
|
|
class GitGerrit < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Gerrit code review helper scripts"
|
2015-05-14 17:58:12 +00:00
|
|
|
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"
|
2012-01-01 17:09:15 +00:00
|
|
|
|
|
|
|
def install
|
2015-05-14 17:58:12 +00:00
|
|
|
prefix.install "bin"
|
|
|
|
bash_completion.install "completion/git-gerrit-completion.bash"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "git", "init"
|
|
|
|
system "git", "gerrit", "help"
|
2012-01-01 17:09:15 +00:00
|
|
|
end
|
|
|
|
end
|