bit 0.1.0 (new formula)

Closes #8688.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Amit 2017-01-10 14:01:15 +02:00 committed by Tomasz Pajor
parent 75526c5062
commit 42522e8205

19
Formula/bit.rb Normal file
View file

@ -0,0 +1,19 @@
require "language/node"
class Bit < Formula
desc "Distributed Code Component Manager"
homepage "https://www.bitsrc.io"
url "http://assets.bitsrc.io/release/0.1.0/bit_0.1.0_brew.tar.gz"
sha256 "c33c00a8334da4659b263472d013eaafbc5f0c16249e755f7624ac396d673270"
depends_on "node"
def install
system "npm", "install", "-g", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
assert_equal "successfully initialized an empty bit scope.\n",
shell_output("#{bin}/bit init")
end
end