homebrew-core/Formula/heroku-toolbelt.rb
Alex Grant 014cf81bd5 heroku-toolbelt: Remove outdated caveat
The Heroku Toolbelt has replaced Foreman with `heroku local`, which
internally uses Forego but does not require any separate installation.
See: https://devcenter.heroku.com/articles/heroku-local

Closes Homebrew/homebrew#46214.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-21 04:27:34 +00:00

24 lines
781 B
Ruby

class HerokuToolbelt < Formula
desc "Everything you need to get started with Heroku"
homepage "https://toolbelt.heroku.com/other"
url "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-3.42.22.tgz"
sha256 "752e74b0ccf87d706a551c451f2e912fa0417397804b5ad5ea2edd9869e6a2f6"
head "https://github.com/heroku/heroku.git"
bottle :unneeded
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