Repository navigation
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.83.0"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.83.0/stackgen-cli_0.83.0_darwin_amd64.tar.gz"
sha256 "39330503c20ec3b8c7dda2eac0946a0f9176b0121be43b7f1e477db28563501d"
define_method(:install) do
bin.install "stackgen"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.83.0/stackgen-cli_0.83.0_darwin_arm64.tar.gz"
sha256 "a920a02033b073a34ef19463e76aab010d023472fc53eafb6f99cff2c7a648e8"
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.83.0/stackgen-cli_0.83.0_linux_amd64.tar.gz"
sha256 "25017a161e5a24072c2b9130b05bd350839ed60d7379a7e8f7104326bcff7e26"
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.83.0/stackgen-cli_0.83.0_linux_arm64.tar.gz"
sha256 "14d25fe5f6872bc59df1633182066e8b604e905425ce31cdc63aa0fff935d288"
define_method(:install) do
bin.install "stackgen"
end
end
end
end