ea9e39f3e5
Closes #36591. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
20 lines
669 B
Ruby
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.1.2.tar.gz"
|
|
sha256 "6b4ca4d4717527a462b9ebeb30e3c137b8f1f41e33026eb85b37539b926cb48e"
|
|
|
|
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
|