-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud2code.rb
More file actions
46 lines (41 loc) · 1.51 KB
/
cloud2code.rb
File metadata and controls
46 lines (41 loc) · 1.51 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 Cloud2code < Formula
desc "Convert your cloud resources to tfstate files"
homepage "https://stackgen.com/"
version "0.5.1"
license "Proprietary"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.1/cloud2code_0.5.1_darwin_amd64.tar.gz"
sha256 "d3e2c5f37a706672a78c40ae8fca5f45da02fe754456bbb230bec6702dbdace9"
define_method(:install) do
bin.install "cloud2code"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.1/cloud2code_0.5.1_darwin_arm64.tar.gz"
sha256 "b47cb163c3c41fad6b79f4c4c03e9644740b284f43d698adf1883bc03a77ebc9"
define_method(:install) do
bin.install "cloud2code"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.1/cloud2code_0.5.1_linux_amd64.tar.gz"
sha256 "371aa0447be8ca089fa2a8488c5740866a0360855feb41efea350b22763613b5"
define_method(:install) do
bin.install "cloud2code"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.1/cloud2code_0.5.1_linux_arm64.tar.gz"
sha256 "6b1a986c94dd699851895367fe9c7db40694f2d913508c0fb8857e6411db6890"
define_method(:install) do
bin.install "cloud2code"
end
end
end
end