git-gerrit: test added
Closes Homebrew/homebrew#39760. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
889c7308b2
commit
e6013b721f
1 changed files with 12 additions and 7 deletions
|
@ -1,12 +1,17 @@
|
|||
require 'formula'
|
||||
|
||||
class GitGerrit < Formula
|
||||
homepage 'https://github.com/fbzhong/git-gerrit'
|
||||
url 'https://github.com/fbzhong/git-gerrit/archive/v0.3.0.tar.gz'
|
||||
sha1 '0e38e6f6657ff50d6692de9ce880d4698120325b'
|
||||
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'
|
||||
prefix.install "bin"
|
||||
bash_completion.install "completion/git-gerrit-completion.bash"
|
||||
end
|
||||
|
||||
test do
|
||||
system "git", "init"
|
||||
system "git", "gerrit", "help"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue