Repository navigation
Expand file tree
/
Copy pathcloud2code.rb
More file actions
46 lines (41 loc) · 1.52 KB
/
Copy pathcloud2code.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 Cloud2code < Formula
desc "Convert your cloud resources to tfstate files"
homepage "https://stackgen.com/"
version "0.5.15"
license "Proprietary"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.15/cloud2code_0.5.15_darwin_amd64.tar.gz"
sha256 "ea486692b1750c82e6c307d3245c8e73cd9cd6feb54b97d8d270e377d513cfe6"
define_method(:install) do
bin.install "cloud2code"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.15/cloud2code_0.5.15_darwin_arm64.tar.gz"
sha256 "7abab9c7d3c9395d1eb9617abb17569b6e3003aa943e6acb144b8aa8e1987005"
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.15/cloud2code_0.5.15_linux_amd64.tar.gz"
sha256 "28cf93f09906ce67dd6ae84f1fd0e5eabb4859c6f5ca17bdf96b8182588f9b95"
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.15/cloud2code_0.5.15_linux_arm64.tar.gz"
sha256 "8cda71b1c02e31c193e969e57a13df68ae442f0a4b9011c146270415059c0ef7"
define_method(:install) do
bin.install "cloud2code"
end
end
end
end