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'
|
2012-03-22 20:32:08 +00:00
|
|
|
url 'https://github.com/defunkt/gist/tarball/v3.1.0'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3271be7d41ac545afd17772652dda7adc7c90d7a'
|
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
|