homebrew-core/Formula/gibo.rb
Chongyu Zhu db83309a94
gibo 2.2.2
Closes #40944.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-06-13 20:28:03 +08:00

20 lines
669 B
Ruby

class Gibo < Formula
desc "Access GitHub's .gitignore boilerplates"
homepage "https://github.com/simonwhitaker/gibo"
url "https://github.com/simonwhitaker/gibo/archive/2.2.2.tar.gz"
sha256 "1ce2497b0d8a5ad165d7428c4e87e40072581f3ba6ff56b3fceeb53c52630442"
bottle :unneeded
def install
bin.install "gibo"
bash_completion.install "shell-completions/gibo-completion.bash"
zsh_completion.install "shell-completions/gibo-completion.zsh" => "_gibo"
fish_completion.install "shell-completions/gibo.fish"
end
test do
system "#{bin}/gibo", "update"
assert_includes shell_output("#{bin}/gibo dump Python"), "Python.gitignore"
end
end