require 'formula' class HerokuToolbelt < Formula homepage 'https://toolbelt.heroku.com/other' url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-3.20.0.tgz' sha1 'e3edb525fc25d4fbafc46768cc06353a5519db88' def install libexec.install Dir["*"] bin.write_exec_script libexec/"bin/heroku" end test do system "#{bin}/heroku", "version" end end