2013-09-24 14:39:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GitCal < Formula
|
|
|
|
homepage 'https://github.com/k4rthik/git-cal'
|
2013-10-18 23:53:41 +00:00
|
|
|
url 'https://github.com/k4rthik/git-cal/archive/v0.9.1.tar.gz'
|
|
|
|
sha1 '74c70107c9580c0455e01414ccae7333a746bca1'
|
2013-09-24 14:39:18 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'git-cal'
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2013-10-16 06:59:43 +00:00
|
|
|
# git-cal fails when run outside of a git repo.
|
|
|
|
HOMEBREW_REPOSITORY.cd do
|
|
|
|
system "#{bin}/git-cal"
|
|
|
|
end
|
2013-09-24 14:39:18 +00:00
|
|
|
end
|
|
|
|
end
|