diff options
| author | Alexander Surma | 2012-07-04 00:09:03 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-09 22:22:37 -0700 |
| commit | 0c12fe239b2c7f2e3c1f22ed23d5bd01e1398a2d (patch) | |
| tree | 8531728a96ef8155b5050c2c743b542c0d151e04 /Library | |
| parent | e70cbef4e677d552fcaecbd1f4bfa2601da845c5 (diff) | |
| download | homebrew-0c12fe239b2c7f2e3c1f22ed23d5bd01e1398a2d.tar.bz2 | |
wrk-trello 1.0.1
Closes #13223.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wrk-trello.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/wrk-trello.rb b/Library/Formula/wrk-trello.rb new file mode 100644 index 000000000..710d569f4 --- /dev/null +++ b/Library/Formula/wrk-trello.rb @@ -0,0 +1,27 @@ +require 'formula' + +class WrkTrello < Formula + homepage 'https://github.com/blangel/wrk' + url 'http://cloud.github.com/downloads/blangel/wrk/wrk-1.0.1.tar.gz' + sha1 'e517e9fb66dc285321b38a398aae35956c83a0ea' + + def script; <<-EOS.undent + #!/bin/sh + export WRK_HOME="#{libexec}" + exec "#{libexec}/bin/wrk" "$@" + EOS + end + + def install + libexec.install Dir['*'] + (bin/'wrk').write script + end + + def caveats; <<-EOS.undent + To get your token go here: + https://trello.com/1/authorize?key=8d56bbd601877abfd13150a999a840d0&name=Wrk&expiration=never&response_type=token&scope=read,write + and save it to ~/.wrk/token + Start `wrk` for more information. + EOS + end +end |
