2010-11-06 03:35:00 +00:00
|
|
|
class Gist < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Command-line utility for uploading Gists"
|
2014-08-21 07:25:45 +00:00
|
|
|
homepage "https://github.com/defunkt/gist"
|
2015-07-21 22:36:45 +00:00
|
|
|
url "https://github.com/defunkt/gist/archive/v4.4.2.tar.gz"
|
|
|
|
sha256 "4f570c6c32f04f529d0195c7cad93a48c9a53b2b3a9e69f68b732cdf31d3c362"
|
2014-08-21 07:25:45 +00:00
|
|
|
head "https://github.com/defunkt/gist.git"
|
2010-02-28 23:03:46 +00:00
|
|
|
|
2015-06-25 18:01:06 +00:00
|
|
|
bottle do
|
2015-09-23 13:36:22 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "4e017290b588b0c357ae29b6f1c14b3d47a81f8002c3ef8a29312e084d4b636f" => :el_capitan
|
2015-07-22 01:01:44 +00:00
|
|
|
sha256 "164ad1f9427b51c135bb57699abc9b8ab42a1210097db88fb09387e81ceaa46a" => :yosemite
|
|
|
|
sha256 "5342577ed510c43e1293e0b0571311dbde3cc17f6754a211adf3a471141a9119" => :mavericks
|
|
|
|
sha256 "fff6af8f6c17c308009a4496032059defb8355ca646317dc8961475d2ffe683c" => :mountain_lion
|
2015-06-25 18:01:06 +00:00
|
|
|
end
|
|
|
|
|
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
|
2014-08-21 07:25:45 +00:00
|
|
|
system "#{bin}/gist", "--version"
|
2009-11-13 03:02:29 +00:00
|
|
|
end
|
|
|
|
end
|