Skip to content

Commit

Permalink
bcoin: drop unneeded env_script
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Aug 2, 2024
1 parent 2ebbea7 commit 5304349
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Formula/b/bcoin.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Bcoin < Formula
desc "Javascript bitcoin library for node.js and browsers"
homepage "https://bcoin.io"
Expand Down Expand Up @@ -32,8 +30,8 @@ def node
end

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
(bin/"bcoin").write_env_script libexec/"bin/bcoin", PATH: "#{node.opt_bin}:$PATH"
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

test do
Expand Down

0 comments on commit 5304349

Please sign in to comment.