homebrew-core/Formula/git-standup.rb

27 lines
955 B
Ruby
Raw Normal View History

2016-04-16 16:34:00 +00:00
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.4.tar.gz"
sha256 "4481e2eac9d523ceae0d1c0ec13fe78e54b0e1cad8fc7af58026776fcc0d24ea"
2016-04-16 16:34:00 +00:00
head "https://github.com/kamranahmedse/git-standup.git"
2016-04-21 09:14:01 +00:00
bottle do
cellar :any_skip_relocation
sha256 "9ec910ead4b99bdcaa2649a01a207257d56ba6e8d51233b18220637f968eb6d2" => :el_capitan
sha256 "a77681880f954d6e3337c582d589cb23b5b34e09a3d787737567278fbb33fc45" => :yosemite
sha256 "87050e61def08fe7c2c4b521c5ddc607348987241a94efeb91cf699e84fe63e0" => :mavericks
end
2016-04-16 16:34:00 +00:00
def install
system "make", "install", "prefix=#{prefix}"
2016-04-16 16:34:00 +00:00
end
test do
system "git", "init"
(testpath/"test").write "test"
system "git", "add", "#{testpath}/test"
system "git", "commit", "--message", "test"
system "git", "standup"
2016-04-16 16:34:00 +00:00
end
end