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"
|
2016-07-02 09:52:29 +00:00
|
|
|
url "https://github.com/kamranahmedse/git-standup/archive/2.1.8.tar.gz"
|
|
|
|
sha256 "25b002f1df34ecc31c0a254ee95bf077dd4285a3d428a48e5d4821c289795800"
|
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
|
2016-06-16 15:39:17 +00:00
|
|
|
sha256 "9383bd9b3ad0be1c8811c043c990380e448e0c7c97026824aaafaf79693452c8" => :el_capitan
|
|
|
|
sha256 "08e5790403f65d6647af1ac61836e8db95a139530203cc0ac28b9da3d058b24f" => :yosemite
|
|
|
|
sha256 "fc7c28d7ea966ce3918a5b26e6be80e2fd9bfc515bb264a32c1c0afafaef865b" => :mavericks
|
2016-04-21 09:14:01 +00:00
|
|
|
end
|
|
|
|
|
2016-04-16 16:34:00 +00:00
|
|
|
def install
|
2016-04-21 08:12:41 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
2016-04-16 16:34:00 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-04-16 17:49:59 +00:00
|
|
|
system "git", "init"
|
|
|
|
(testpath/"test").write "test"
|
|
|
|
system "git", "add", "#{testpath}/test"
|
|
|
|
system "git", "commit", "--message", "test"
|
2016-04-21 10:23:29 +00:00
|
|
|
system "git", "standup"
|
2016-04-16 16:34:00 +00:00
|
|
|
end
|
|
|
|
end
|