homebrew-core/Formula/heroku-toolbelt.rb
Iain D Broadfoot 00b1a3d089 heroku-toolbelt 2.39.4
Closes Homebrew/homebrew#20221.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-03 11:14:37 -07:00

19 lines
457 B
Ruby

require 'formula'
class HerokuToolbelt < Formula
homepage 'https://toolbelt.heroku.com/other'
url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-2.39.4.tgz'
sha1 'b6764c20b5b820d55855795ac87f7efe79d30f8e'
def install
libexec.install Dir["*"]
(bin/'heroku').write <<-EOS.undent
#!/usr/bin/env sh
exec "#{libexec}/bin/heroku" "$@"
EOS
end
def test
system "#{bin}/heroku", "version"
end
end