homebrew-core/Formula/git-standup.rb
2018-08-21 12:27:32 +02:00

27 lines
1 KiB
Ruby

class GitStandup < Formula
desc "Git extension to generate reports for standup meetings"
homepage "https://github.com/kamranahmedse/git-standup"
url "https://github.com/kamranahmedse/git-standup/archive/2.1.9.tar.gz"
sha256 "6f6ff39e7d1cbf51783bc42fbc61ad38f84efdd441c183cef0d75187c1ea7087"
head "https://github.com/kamranahmedse/git-standup.git"
bottle do
cellar :any_skip_relocation
sha256 "31dd987e8a3e49e804fde9d67a48cbeec54cfbcbc8e7ee6ce5fc8c344519eb28" => :mojave
sha256 "a0eb22ac35b48f9696da523eb85270a5a0e6652d35c921a5c80b195d3e1f39c2" => :high_sierra
sha256 "a0eb22ac35b48f9696da523eb85270a5a0e6652d35c921a5c80b195d3e1f39c2" => :sierra
sha256 "a0eb22ac35b48f9696da523eb85270a5a0e6652d35c921a5c80b195d3e1f39c2" => :el_capitan
end
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "git", "init"
(testpath/"test").write "test"
system "git", "add", "#{testpath}/test"
system "git", "commit", "--message", "test"
system "git", "standup"
end
end