18 lines
507 B
Ruby
18 lines
507 B
Ruby
class Kommit < Formula
|
|
desc "More detailed commit messages without committing!"
|
|
homepage "https://github.com/vigo/kommit"
|
|
url "https://github.com/vigo/kommit/archive/v1.1.0.tar.gz"
|
|
sha256 "c51e87c9719574feb9841fdcbd6d1a43b73a45afeca25e1312d2699fdf730161"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
bin.install "bin/git-kommit"
|
|
end
|
|
|
|
test do
|
|
system "git", "init"
|
|
system "#{bin}/git-kommit", "-m", "Hello"
|
|
assert_match /Hello/, shell_output("#{bin}/git-kommit -s /dev/null 2>&1")
|
|
end
|
|
end
|