-
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.0"
license "Proprietary"
on_macos do
if Hardware::CPU.intel?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.0/cloud2code_0.5.0_darwin_amd64.tar.gz"
sha256 "161cfe4eeedb893d5109d94d4c1edab6d58bb636c1e6400001c7b5173fe20690"
define_method(:install) do
bin.install "cloud2code"
end
end
if Hardware::CPU.arm?
url "https://releases.stackgen.com/binaries/cloud2code/v0.5.0/cloud2code_0.5.0_darwin_arm64.tar.gz"
sha256 "d7aeba6f32e93ec395ebffd65a1b53f9f86388222a3af68b91627bda4ac30171"
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.0/cloud2code_0.5.0_linux_amd64.tar.gz"
sha256 "f9ad2d94cffba522877204ad38c4f47fc7f87f450362beda89dfce44bfbe7d79"
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.0/cloud2code_0.5.0_linux_arm64.tar.gz"
sha256 "68f3fe4a3cf9be05fbdb0a176fa36391dd2bfb6993f619eea37339ae55d24472"
define_method(:install) do
bin.install "cloud2code"
end
end
end
end