homebrew-core/Formula/gibo.rb
Simon Whitaker cb8b2a1117
gibo 2.2.1
Closes #39777.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-05-13 17:09:39 +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.1.tar.gz"
sha256 "f0de59f793fabf17cea8acf925fbe3f4c7627153b93b7c28d68cd96f0ea84c95"
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