-
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
/
stackgen.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.76.0"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.76.0/stackgen-cli_0.76.0_darwin_amd64.tar.gz"
sha256 "0a1d345ba79dd5a609db0f51e0491773926b78ce25c757582c406a1b3730f91f"
define_method(:install) do
bin.install "stackgen"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.76.0/stackgen-cli_0.76.0_darwin_arm64.tar.gz"
sha256 "36283cfb50b691081660deb1982cb2f32dc7bcff1ff6713016b3ca57ab21ecdd"
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.76.0/stackgen-cli_0.76.0_linux_amd64.tar.gz"
sha256 "31211ad655b34ff480cee615726642bae8f8fb68ce00d8b2be11e4f122c0bed0"
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.76.0/stackgen-cli_0.76.0_linux_arm64.tar.gz"
sha256 "2441331d36f273ef1d29f43e78819c00573b595dd03533ae075521052faac234"
define_method(:install) do
bin.install "stackgen"
end
end
end
end