2009-11-13 03:02:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2010-11-06 03:35:00 +00:00
|
|
|
class Gist < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/defunkt/gist'
|
2013-11-19 14:04:31 +00:00
|
|
|
url 'https://github.com/defunkt/gist/archive/v4.1.3.tar.gz'
|
|
|
|
sha1 '592afe5f45f476f2d9129bcd250892c884c3664d'
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/defunkt/gist.git'
|
2010-02-28 23:03:46 +00:00
|
|
|
|
2009-11-13 03:02:29 +00:00
|
|
|
def install
|
2013-01-27 22:38:03 +00:00
|
|
|
rake "install", "prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/gist", '--version'
|
2009-11-13 03:02:29 +00:00
|
|
|
end
|
|
|
|
end
|