git-cal 0.9 (new formula)
git-cal is a simple script to view a commits calendar for a git repository (similar to github contributions calendar) on the command line. Closes Homebrew/homebrew#22785. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
57247db6e0
commit
4055e6a433
1 changed files with 17 additions and 0 deletions
17
Formula/git-cal.rb
Normal file
17
Formula/git-cal.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require 'formula'
|
||||
|
||||
class GitCal < Formula
|
||||
homepage 'https://github.com/k4rthik/git-cal'
|
||||
url 'https://github.com/k4rthik/git-cal/archive/v0.9.tar.gz'
|
||||
sha1 'dd4027e367382a8593cab4212d2c7882a7b37680'
|
||||
|
||||
def install
|
||||
bin.install 'git-cal'
|
||||
end
|
||||
|
||||
test do
|
||||
# git-cal fails when run outside of a git repo, so
|
||||
# switch to #{bin} before testing it.
|
||||
system "cd #{bin}; #{bin}/git-cal"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue