homebrew-core/Formula/heroku-toolbelt.rb
Mark Cornick 6ec270404e heroku-toolbelt: fix typo
Closes Homebrew/homebrew#15644.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-24 12:29:07 -07:00

19 lines
458 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.32.13.tgz'
sha1 'b68bf43366e0a86a5d28fc152e79672fd0bc1d64'
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