diff --git a/Formula/bit.rb b/Formula/bit.rb new file mode 100644 index 00000000000..77b8d94a427 --- /dev/null +++ b/Formula/bit.rb @@ -0,0 +1,19 @@ +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.2.6/bit-0.2.6-brew.tar.gz" + sha256 "59b3ef677c99ddd2c07b28c15b90fc82d56019e30879c48b2fe099ebae8a7f4a" + + 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 --skip-update") + end +end diff --git a/tap_migrations.json b/tap_migrations.json index 8bbcc31986b..1ba90dc59fa 100644 --- a/tap_migrations.json +++ b/tap_migrations.json @@ -22,7 +22,6 @@ "bcwipe": "homebrew/boneyard", "bindfs": "homebrew/fuse", "bip": "homebrew/boneyard", - "bit": "homebrew/boneyard", "box2d": "homebrew/boneyard", "bzr-explorer": "homebrew/boneyard", "cantera": "homebrew/science",