homebrew-core/Formula/gibo.rb
Igor Kapkov f943e22a87 gibo 2.2.3
Closes #42243.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-07-21 16:29:40 +02: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.3.tar.gz"
sha256 "022132cc0d98c7c4a8002c34940cca0c56fd993c1391df4e43f7e3b7517cd63a"
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