homebrew-core/Formula/heroku-toolbelt.rb
Alex Dunn 606e99bc1f heroku-toolbelt 3.36.7
Closes Homebrew/homebrew#39731.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-13 23:15:26 -04:00

21 lines
704 B
Ruby

class HerokuToolbelt < Formula
homepage "https://toolbelt.heroku.com/other"
url "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-3.36.7.tgz"
sha256 "008393132b6422982221245f50cf28792f9f7a298d0ae13e34273d80976e0e77"
head "https://github.com/heroku/heroku.git"
depends_on :ruby => "1.9"
def install
libexec.install Dir["*"]
# turn off autoupdates (off by default in HEAD)
if build.stable?
inreplace libexec/"bin/heroku", "Heroku::Updater.inject_libpath", "Heroku::Updater.disable(\"Use `brew upgrade heroku-toolbelt` to update\")"
end
bin.write_exec_script libexec/"bin/heroku"
end
test do
system "#{bin}/heroku", "version"
end
end