diff options
| author | Nathaniel Talbott | 2012-10-15 23:07:44 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-24 11:07:44 -0700 |
| commit | 7bb7b3c0f60495bd9d8166a8744b199c86632b92 (patch) | |
| tree | dc98d59f464ccb99bfd4f4192bff9fcb21436a82 /Library/Formula | |
| parent | 6b72742cd835530341fb8aa370f4a8b2887bce76 (diff) | |
| download | homebrew-7bb7b3c0f60495bd9d8166a8744b199c86632b92.tar.bz2 | |
Heroku Toolbelt 2.32.13
Heroku has deprecated their Rubygem, and is encouraging everyone to use
their Toolbelt to install and use the `heroku` command line tool. While
they have a GUI installer for OS X, that's just not how I roll when it
comes to CLI tools. This takes the underlying package that the Toolbelt
is based on and wraps it up in a formula everyone can use.
Closes #15480.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/heroku-toolbelt.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/heroku-toolbelt.rb b/Library/Formula/heroku-toolbelt.rb new file mode 100644 index 000000000..3b17df538 --- /dev/null +++ b/Library/Formula/heroku-toolbelt.rb @@ -0,0 +1,19 @@ +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/keroku" "$@" + EOS + end + + def test + system "#{bin}/heroku", "version" + end +end |
