Skip to content

Commit

Permalink
gitter-cli 0.8.5 (new formula)
Browse files Browse the repository at this point in the history
Closes #11912.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
  • Loading branch information
zmwangx authored and dunn committed Apr 1, 2017
1 parent a0c5afd commit 3da86fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/gitter-cli.rb
@@ -0,0 +1,19 @@
require "language/node"

class GitterCli < Formula
desc "Extremely simple Gitter client for terminals"
homepage "https://github.com/RodrigoEspinosa/gitter-cli"
url "https://github.com/RodrigoEspinosa/gitter-cli/archive/v0.8.5.tar.gz"
sha256 "c4e335620fc1be50569f3b7543c28ba2c6121b1c7e6d041464b29a31b3d84c25"

depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink libexec/"bin/gitter-cli"
end

test do
assert_match "access token", pipe_output("#{bin}/gitter-cli authorize")
end
end

0 comments on commit 3da86fd

Please sign in to comment.