homebrew-core/Formula/bit.rb

28 lines
1 KiB
Ruby
Raw Normal View History

require "language/node"
class Bit < Formula
desc "Distributed Code Component Manager"
homepage "https://www.bitsrc.io"
url "https://bitsrc.jfrog.io/bitsrc/bit-brew/stable/bit/0.10.3/bit-0.10.3-brew.tar.gz"
sha256 "e843e29b34ba8c93c68503f288be28c841c159b67a54bcc88063328167a32785"
2017-03-07 16:33:40 +00:00
bottle do
2017-04-04 15:13:49 +00:00
cellar :any_skip_relocation
2017-09-19 07:36:33 +00:00
sha256 "afc34fb0172b2eb1a579b4334a084c0df77b7ad6977a11d3641a72dca6211487" => :high_sierra
2017-08-09 15:32:14 +00:00
sha256 "67a6a52d87f99c90171b82f1f10c784a686969a30366e5c119d6b450a04271bf" => :sierra
sha256 "67a6a52d87f99c90171b82f1f10c784a686969a30366e5c119d6b450a04271bf" => :el_capitan
sha256 "67a6a52d87f99c90171b82f1f10c784a686969a30366e5c119d6b450a04271bf" => :yosemite
2017-03-07 16:33:40 +00:00
end
def install
libexec.install Dir["*"]
bin.install_symlink Dir["#{libexec}/bin/bit"]
bin.install_symlink Dir["#{libexec}/bin/bit.js"]
bin.install_symlink "#{libexec}/bin/node" => "bitNode"
end
test do
assert_equal "successfully initialized an empty bit scope.\n",
shell_output("#{bin}/bit init --skip-update")
end
end