2013-05-28 11:27:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ghi < Formula
|
|
|
|
homepage 'https://github.com/stephencelis/ghi'
|
2014-02-17 22:08:36 +00:00
|
|
|
url 'https://github.com/stephencelis/ghi/archive/0.9.2.tar.gz'
|
2014-03-07 20:29:56 +00:00
|
|
|
head 'https://github.com/stephencelis/ghi.git'
|
2014-02-17 22:08:36 +00:00
|
|
|
sha1 'c62c8d0e8e510db82ca3880a13c4f965c728cfb5'
|
2013-05-28 11:27:32 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "ghi"
|
|
|
|
man1.install "man/ghi.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2013-06-09 02:26:20 +00:00
|
|
|
system "#{bin}/ghi", "--version"
|
2013-05-28 11:27:32 +00:00
|
|
|
end
|
|
|
|
end
|