Skip to content

Commit 77ed65a

Browse files
authored
Merge pull request #223144 from Homebrew/bump-codex-0.1.2505111730
codex 0.1.2505111730
2 parents 37051de + 70ac8b1 commit 77ed65a

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

Formula/c/codex.rb

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
class Codex < Formula
22
desc "OpenAI's coding agent that runs in your terminal"
33
homepage "https://github.com/openai/codex"
4-
url "https://registry.npmjs.org/@openai/codex/-/codex-0.1.2505021246.tgz"
5-
sha256 "70d27f89af3eb9d2697de0a9ba68564d32fc6faecb6f8dfcd2cca7e6ab919ab8"
4+
url "https://registry.npmjs.org/@openai/codex/-/codex-0.1.2505111730.tgz"
5+
sha256 "87fe060703384b92745904d6fb94c3763877af8173c9f0b796458cc8b8a2ca65"
66
license "Apache-2.0"
77

88
bottle do
9-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "85df5edd03aa3806252b9868d83ca32cba01d252889970f77bbc020c37933d9d"
10-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "85df5edd03aa3806252b9868d83ca32cba01d252889970f77bbc020c37933d9d"
11-
sha256 cellar: :any_skip_relocation, arm64_ventura: "85df5edd03aa3806252b9868d83ca32cba01d252889970f77bbc020c37933d9d"
12-
sha256 cellar: :any_skip_relocation, sonoma: "9c0511f07c5d8b0ee0d5bd810f802fafe569a9b002590afa8e2452bdced54c37"
13-
sha256 cellar: :any_skip_relocation, ventura: "9c0511f07c5d8b0ee0d5bd810f802fafe569a9b002590afa8e2452bdced54c37"
14-
sha256 cellar: :any_skip_relocation, arm64_linux: "85df5edd03aa3806252b9868d83ca32cba01d252889970f77bbc020c37933d9d"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "85df5edd03aa3806252b9868d83ca32cba01d252889970f77bbc020c37933d9d"
9+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "4e7b0f74c000f61ca49ee3fa2c52848e18754fe28b884bb2c0375f2ebe840887"
10+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4e7b0f74c000f61ca49ee3fa2c52848e18754fe28b884bb2c0375f2ebe840887"
11+
sha256 cellar: :any_skip_relocation, arm64_ventura: "4e7b0f74c000f61ca49ee3fa2c52848e18754fe28b884bb2c0375f2ebe840887"
12+
sha256 cellar: :any_skip_relocation, sonoma: "ccf94b7a469657b2ed31775771a66429dc05cf98538ea5e7e05326807ac46f0b"
13+
sha256 cellar: :any_skip_relocation, ventura: "ccf94b7a469657b2ed31775771a66429dc05cf98538ea5e7e05326807ac46f0b"
14+
sha256 cellar: :any_skip_relocation, arm64_linux: "4e7b0f74c000f61ca49ee3fa2c52848e18754fe28b884bb2c0375f2ebe840887"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "4e7b0f74c000f61ca49ee3fa2c52848e18754fe28b884bb2c0375f2ebe840887"
1616
end
1717

1818
depends_on "node"
@@ -21,6 +21,10 @@ def install
2121
system "npm", "install", *std_npm_args
2222
bin.install_symlink Dir["#{libexec}/bin/*"]
2323

24+
# Remove incompatible pre-built binaries
25+
libexec.glob("lib/node_modules/@openai/codex/bin/*")
26+
.each { |f| rm_r(f) if f.extname != ".js" }
27+
2428
generate_completions_from_executable(bin/"codex", "completion")
2529
end
2630

0 commit comments

Comments
 (0)