-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheca.rb
More file actions
30 lines (26 loc) · 1.17 KB
/
eca.rb
File metadata and controls
30 lines (26 loc) · 1.17 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
class Eca < Formula
desc "Editor Code Assistant (ECA) - AI pair programming capabilities agnostic of editor"
homepage "https://github.com/editor-code-assistant/eca"
version "0.128.1"
option "with-dynamic", "Installs the not static binary."
if OS.mac?
if Hardware::CPU.arm?
url "https://github.com/editor-code-assistant/eca/releases/download/0.128.1/eca-native-macos-aarch64.zip"
sha256 "a2d103dc97cfe6ff271c0f938e7497001fc17653408d882a67b567af9a09b507"
else
url "https://github.com/editor-code-assistant/eca/releases/download/0.128.1/eca-native-macos-amd64.zip"
sha256 "503ac292639439360fb5b9a85e89dcd7971ee315cf1ab54f9ffb486a9bec33d0"
end
elsif OS.linux?
if build.with? "dynamic"
url "https://github.com/editor-code-assistant/eca/releases/download/0.128.1/eca-native-linux-amd64.zip"
sha256 "04e0a4b728004500b6f3da39d524c71b6222d9f22f9009138f9eb0302af762cb"
else
url "https://github.com/editor-code-assistant/eca/releases/download/0.128.1/eca-native-static-linux-amd64.zip"
sha256 "6c167da30d1276e593dce9330a5e94b0e8c0c18b887a329bccb254a63461edc5"
end
end
def install
bin.install "eca"
end
end