-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathopencode.rb
More file actions
48 lines (41 loc) · 1.45 KB
/
opencode.rb
File metadata and controls
48 lines (41 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Opencode < Formula
desc "The AI coding agent built for the terminal."
homepage "https://github.com/anomalyco/opencode"
version "1.3.17"
depends_on "ripgrep"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/anomalyco/opencode/releases/download/v1.3.17/opencode-darwin-x64.zip"
sha256 "554b6101026c640c4e5f6d4f4f7738d8b2840155eca75b93ac0bad9d5c756c0f"
def install
bin.install "opencode"
end
end
if Hardware::CPU.arm?
url "https://github.com/anomalyco/opencode/releases/download/v1.3.17/opencode-darwin-arm64.zip"
sha256 "144bed914e8cc004ba4f79fd01d61f1ad121a6417e13ef97dc6fe8665c8903bb"
def install
bin.install "opencode"
end
end
end
on_linux do
if Hardware::CPU.intel? and Hardware::CPU.is_64_bit?
url "https://github.com/anomalyco/opencode/releases/download/v1.3.17/opencode-linux-x64.tar.gz"
sha256 "19e540840cfd04afebed92cfe67dce0cd6c425ed5f729ef946e8071f776205a9"
def install
bin.install "opencode"
end
end
if Hardware::CPU.arm? and Hardware::CPU.is_64_bit?
url "https://github.com/anomalyco/opencode/releases/download/v1.3.17/opencode-linux-arm64.tar.gz"
sha256 "345293ed29c703cf3c4b0e696db50c3586c973a4d4ff90f1db5b6cbbbb2cee4b"
def install
bin.install "opencode"
end
end
end
end