-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgram@0.15.5.rb
More file actions
50 lines (44 loc) · 1.53 KB
/
gram@0.15.5.rb
File metadata and controls
50 lines (44 loc) · 1.53 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 GramAT0155 < Formula
desc "The Gram CLI for interacting with the Gram Platform"
homepage "https://app.getgram.ai"
version "0.15.5"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/speakeasy-api/gram/releases/download/cli@0.15.5/gram_darwin_amd64.zip"
sha256 "b069f8d3c4e76d4428897423c401f1dabb2e253b421012de5c7fb0c05288c984"
define_method(:install) do
bin.install "gram"
end
end
if Hardware::CPU.arm?
url "https://github.com/speakeasy-api/gram/releases/download/cli@0.15.5/gram_darwin_arm64.zip"
sha256 "18e6f3fe94a3c911cefe0e3b8dda0da873cf91dd78a45cad9e9c91d04f60a249"
define_method(:install) do
bin.install "gram"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/speakeasy-api/gram/releases/download/cli@0.15.5/gram_linux_amd64.zip"
sha256 "3fe437d45e0b46fb1a71c57b6126c5b66d75e88989ba9cfb956353f878d78a66"
define_method(:install) do
bin.install "gram"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/speakeasy-api/gram/releases/download/cli@0.15.5/gram_linux_arm64.zip"
sha256 "79e8559375420ee2c08cdc11c5c853d1d18dd61c32458966d26fa3cbae50f468"
define_method(:install) do
bin.install "gram"
end
end
end
test do
system "#{bin}/gram --version"
end
end