-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.52 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
51
52
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class SpeakeasyAT11084 < Formula
desc "The Speakeasy CLI for interacting with the Speakeasy Platform"
homepage "https://www.speakeasyapi.dev"
version "1.108.4"
license "Apache-2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/speakeasy-api/speakeasy/releases/download/v1.108.4/speakeasy_darwin_arm64.zip"
sha256 "6b3c5142f11b70045383e0efc0992df3828039becd5d4c48d4a689b6cdd27b25"
def install
bin.install "speakeasy"
end
end
if Hardware::CPU.intel?
url "https://github.com/speakeasy-api/speakeasy/releases/download/v1.108.4/speakeasy_darwin_amd64.zip"
sha256 "52ce08a14042b4219141ade06ff3b03890822d61f2ca82cebc503603929b9df1"
def install
bin.install "speakeasy"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/speakeasy-api/speakeasy/releases/download/v1.108.4/speakeasy_linux_arm64.zip"
sha256 "327d6f1bfe22ae6be24f2790a3dfecfe3bba764940db8efc0a1793eb35c71788"
def install
bin.install "speakeasy"
end
end
if Hardware::CPU.intel?
url "https://github.com/speakeasy-api/speakeasy/releases/download/v1.108.4/speakeasy_linux_amd64.zip"
sha256 "2f6ae52b2dab17a31812377a4329fc29b6a94a3892e12dd0fe7d28a334749a35"
def install
bin.install "speakeasy"
end
end
end
test do
system "#{bin}/speakeasy --version"
end
end