26 lines
951 B
Ruby
26 lines
951 B
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.1.tar.gz"
|
|
sha256 "79c75cb3219f022c55d9df93c1292547745d28ccb62252faf52fe6023a41c60c"
|
|
head "https://github.com/kamranahmedse/git-standup.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "110abc4176efa17c98a31c8f9d3efff8f2bdb68096fe3214bd10ae5b153f61d2" => :mojave
|
|
sha256 "7e1457e523902625e5bdf66248f2eaa058ee927fd5673c42773a58f18fb9badd" => :high_sierra
|
|
sha256 "7e1457e523902625e5bdf66248f2eaa058ee927fd5673c42773a58f18fb9badd" => :sierra
|
|
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
|