2012-10-16 03:07:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class HerokuToolbelt < Formula
|
|
|
|
homepage 'https://toolbelt.heroku.com/other'
|
2014-02-04 17:35:53 +00:00
|
|
|
url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-3.3.0.tgz'
|
|
|
|
sha1 '5c4760414623b3e92bb0deaf5d49da695f8c7ad4'
|
2012-10-16 03:07:44 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir["*"]
|
2013-08-13 14:09:22 +00:00
|
|
|
bin.write_exec_script libexec/"bin/heroku"
|
2012-10-16 03:07:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/heroku", "version"
|
|
|
|
end
|
2014-02-04 17:36:57 +00:00
|
|
|
|
|
|
|
# Possibly temporary; see https://github.com/heroku/heroku/issues/1020
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
heroku-toolbelt requires an installation of Ruby 1.9 or greater.
|
|
|
|
EOS
|
|
|
|
end
|
2012-10-16 03:07:44 +00:00
|
|
|
end
|