ask-cli: remove from universal binary allowlist (#83477)
parent
688246d15f
commit
f99bc29f85
|
@ -25,7 +25,7 @@ class AskCli < Formula
|
|||
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
|
||||
bin.write_exec_script libexec/"bin/ask"
|
||||
|
||||
term_size_vendor_dir = libexec/"lib/node_modules/#{name}/node_modules/term-size/vendor"
|
||||
term_size_vendor_dir = libexec/"lib/node_modules"/name/"node_modules/term-size/vendor"
|
||||
term_size_vendor_dir.rmtree # remove pre-built binaries
|
||||
|
||||
on_macos do
|
||||
|
@ -34,6 +34,9 @@ class AskCli < Formula
|
|||
# Replace the vendored pre-built term-size with one we build ourselves
|
||||
ln_sf (Formula["macos-term-size"].opt_bin/"term-size").relative_path_from(macos_dir), macos_dir
|
||||
end
|
||||
|
||||
# Replace universal binaries with native slices
|
||||
deuniversalize_machos
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[
|
||||
"ask-cli",
|
||||
"babel",
|
||||
"cdktf",
|
||||
"code-server",
|
||||
|
|
Loading…
Reference in New Issue