31 lines
1.5 KiB
Ruby
31 lines
1.5 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.3.2.tar.gz"
|
|
sha256 "48d5aaa3c585037c950fa99dd5be8a7e9af959aacacde9fe94143e4e0bfcd6ba"
|
|
license "MIT"
|
|
head "https://github.com/kamranahmedse/git-standup.git", branch: "master"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "70ed7f5656e81453300e666c3db4c883ee9ef1f88206833b8eeb6b578fb56966"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "39e65939c0bfd35248200c980400b99e72d4cf2054487d63c72c7e6b7268d3b0"
|
|
sha256 cellar: :any_skip_relocation, catalina: "0a75c65615d92237a59492ac00867d12ab4a23865d85d5cb464d9deb1f6d8ee8"
|
|
sha256 cellar: :any_skip_relocation, mojave: "0a75c65615d92237a59492ac00867d12ab4a23865d85d5cb464d9deb1f6d8ee8"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "0a75c65615d92237a59492ac00867d12ab4a23865d85d5cb464d9deb1f6d8ee8"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "ae8506033ad25380d08f3159fc5a3f52a0dc16f124683b50bb1f061703050968"
|
|
sha256 cellar: :any_skip_relocation, all: "ae8506033ad25380d08f3159fc5a3f52a0dc16f124683b50bb1f061703050968"
|
|
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
|