-
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.77.0"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.77.0/stackgen-cli_0.77.0_darwin_amd64.tar.gz"
sha256 "05bf40b01920d2dcaed2a1339ab174392c2b074891d64eb52cdc0f45824a6262"
define_method(:install) do
bin.install "stackgen"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/stackgen-cli/v0.77.0/stackgen-cli_0.77.0_darwin_arm64.tar.gz"
sha256 "5ef7e592a67c884c10da69a81a252cc2e4c5fc7b4a34709dad0298813537aee2"
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.77.0/stackgen-cli_0.77.0_linux_amd64.tar.gz"
sha256 "38341ca4104f926a7fe372ceff49d135830e2b275573c469340c3eb464d98d55"
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.77.0/stackgen-cli_0.77.0_linux_arm64.tar.gz"
sha256 "7ec252c7e343ba7374b186ab1a2dd00e7f6d2d468193da871e06796ad81ab508"
define_method(:install) do
bin.install "stackgen"
end
end
end
end