-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathspeakeasy-hooks.rb
More file actions
50 lines (44 loc) · 1.63 KB
/
Copy pathspeakeasy-hooks.rb
File metadata and controls
50 lines (44 loc) · 1.63 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 SpeakeasyHooks < Formula
desc "Speakeasy observability hooks for coding agents"
homepage "https://app.getgram.ai"
version "0.3.29"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/speakeasy-api/gram/releases/download/hooks@0.3.29/speakeasy-hooks_darwin_amd64.zip"
sha256 "5a53fa829b1a4c350fb3218a4bc2c6220902283bf950a3cde1dc67308933a8c9"
define_method(:install) do
bin.install "speakeasy-hooks"
end
end
if Hardware::CPU.arm?
url "https://github.com/speakeasy-api/gram/releases/download/hooks@0.3.29/speakeasy-hooks_darwin_arm64.zip"
sha256 "5dc7211a5a8a519f613bbd8ceea3f1adec4af308738167e5c2eda84a4bc988f8"
define_method(:install) do
bin.install "speakeasy-hooks"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/speakeasy-api/gram/releases/download/hooks@0.3.29/speakeasy-hooks_linux_amd64.zip"
sha256 "71dd82243bf8de80a23388d0304c21f8f2e83165835dcab1bddc16a2498cd975"
define_method(:install) do
bin.install "speakeasy-hooks"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/speakeasy-api/gram/releases/download/hooks@0.3.29/speakeasy-hooks_linux_arm64.zip"
sha256 "6cfb5e22de889b0c9652b720e071b2360307ef6edef9e3638a24259599c34ae5"
define_method(:install) do
bin.install "speakeasy-hooks"
end
end
end
test do
system "#{bin}/speakeasy-hooks --version"
end
end