-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstackgen.rb
More file actions
46 lines (41 loc) · 1.52 KB
/
Copy pathstackgen.rb
File metadata and controls
46 lines (41 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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Stackgen < Formula
desc "Generative Infrastructure from Code"
homepage "https://stackgen.com/"
version "0.79.1"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.79.1/stackgen-cli_0.79.1_darwin_amd64.tar.gz"
sha256 "95fb6fe47664480fac00caa3b230e6b5665a58c8725f182593cc96baa226e3d1"
define_method(:install) do
bin.install "stackgen"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.79.1/stackgen-cli_0.79.1_darwin_arm64.tar.gz"
sha256 "da2c37ed6fc9022612c6a504fab6f1269ac7e83233c41b883cfed7c0a84c0ec3"
define_method(:install) do
bin.install "stackgen"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.79.1/stackgen-cli_0.79.1_linux_amd64.tar.gz"
sha256 "3fb4f9dbf667a77d944be80fee66f3858ab8310a3c8ae78c1cac774a8434c8db"
define_method(:install) do
bin.install "stackgen"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.79.1/stackgen-cli_0.79.1_linux_arm64.tar.gz"
sha256 "625d1b39ceaad316c2392cd5b197cb64f17b1fe53dc8e80b1c2a5e71873fa06d"
define_method(:install) do
bin.install "stackgen"
end
end
end
end