homebrew-core/Formula/heroku-toolbelt.rb

17 lines
392 B
Ruby
Raw Normal View History

require 'formula'
class HerokuToolbelt < Formula
homepage 'https://toolbelt.heroku.com/other'
url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-3.0.1.tgz'
sha1 '11a70ecbb686c187be8502814e9249f4970163e3'
def install
libexec.install Dir["*"]
2013-08-13 14:09:22 +00:00
bin.write_exec_script libexec/"bin/heroku"
end
def test
system "#{bin}/heroku", "version"
end
end