forked from Ingenimax/agent-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent-cli.rb
More file actions
50 lines (44 loc) · 1.56 KB
/
Copy pathagent-cli.rb
File metadata and controls
50 lines (44 loc) · 1.56 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
48
49
50
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class AgentCli < Formula
desc "A powerful Go framework for building production-ready AI agents"
homepage "https://github.com/Ingenimax/agent-sdk-go"
version "0.1.1"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/Ingenimax/agent-sdk-go/releases/download/v0.1.1/agent-sdk-go_Darwin_x86_64.tar.gz"
sha256 "db41c721ccd7de3fa0e911468323517312cc8ad19d20d995b94dbc4f6da4f7df"
def install
bin.install "agent-cli"
end
end
if Hardware::CPU.arm?
url "https://github.com/Ingenimax/agent-sdk-go/releases/download/v0.1.1/agent-sdk-go_Darwin_arm64.tar.gz"
sha256 "3c7a817acacc16832c3d58e50ac61d90ce475ec4758ba2620c629e08b4531ee6"
def install
bin.install "agent-cli"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/Ingenimax/agent-sdk-go/releases/download/v0.1.1/agent-sdk-go_Linux_x86_64.tar.gz"
sha256 "0f8d9176d0833196f6c4a8369cc4e0a9acf492660049ba8366f959f5abbd2921"
def install
bin.install "agent-cli"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/Ingenimax/agent-sdk-go/releases/download/v0.1.1/agent-sdk-go_Linux_arm64.tar.gz"
sha256 "857727de50dd216456f8331863952baa827bd5357c2dbc4dbac32e14ac9c5249"
def install
bin.install "agent-cli"
end
end
end
test do
system "#{bin}/agent-cli --version"
end
end