We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b081a commit 1c15c5eCopy full SHA for 1c15c5e
Formula/bcoin.rb
@@ -6,7 +6,7 @@ class Bcoin < Formula
6
url "https://github.com/bcoin-org/bcoin/archive/v2.1.2.tar.gz"
7
sha256 "b4c63598ee1efc17e4622ef88c1dff972692da1157e8daf7da5ea8abc3d234df"
8
license "MIT"
9
- revision 1
+ revision 2
10
head "https://github.com/bcoin-org/bcoin.git"
11
12
bottle do
@@ -19,6 +19,8 @@ class Bcoin < Formula
19
depends_on "node"
20
21
def install
22
+ # These dirs must exists before npm install.
23
+ mkdir_p libexec/"lib"
24
system "#{Formula["node"].libexec}/bin/npm", "install", *Language::Node.std_npm_install_args(libexec)
25
(bin/"bcoin").write_env_script libexec/"bin/bcoin", PATH: "#{Formula["node"].opt_bin}:$PATH"
26
end
0 commit comments