Skip to content

Commit 8565360

Browse files
committed
flowpipe: add corepack build dependency for UI build
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 4efbb30 commit 8565360

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Formula/f/flowpipe.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Flowpipe < Formula
2525
sha256 cellar: :any_skip_relocation, x86_64_linux: "2c9b2da386e4f32aa027f6f91451644838b1d69eb5cbd3e6d5424b2c9dba229f"
2626
end
2727

28+
depends_on "corepack" => :build
2829
depends_on "go" => :build
2930
depends_on "node" => :build
3031

@@ -34,7 +35,8 @@ def install
3435
system "corepack", "enable", "--install-directory", buildpath
3536

3637
cd "ui/form" do
37-
system buildpath/"yarn", "install"
38+
system Formula["corepack"].opt_bin/"corepack", "enable", "--install-directory", buildpath
39+
system buildpath/"yarn", "install", "--immutable"
3840
system buildpath/"yarn", "build"
3941
end
4042

0 commit comments

Comments
 (0)