-
Notifications
You must be signed in to change notification settings - Fork 2
/
fogg.rb
55 lines (47 loc) · 1.47 KB
/
fogg.rb
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
47
48
49
50
51
52
53
54
55
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Fogg < Formula
desc "Terraform without pain."
homepage "https://github.com/chanzuckerberg/fogg"
version "0.92.23"
on_macos do
on_intel do
url "https://github.com/chanzuckerberg/fogg/releases/download/v0.92.23/fogg_0.92.23_darwin_amd64.tar.gz"
sha256 "1ffdf4cd2026a3dbffa681032b319849863ede67d1ef789fe02222b0a5652309"
def install
bin.install "fogg"
end
end
on_arm do
url "https://github.com/chanzuckerberg/fogg/releases/download/v0.92.23/fogg_0.92.23_darwin_arm64.tar.gz"
sha256 "a7f15a3657e16fbdf544ecfd5a565f2d6fb73a1b290ed2dada32c59b8ffb1b4f"
def install
bin.install "fogg"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/chanzuckerberg/fogg/releases/download/v0.92.23/fogg_0.92.23_linux_amd64.tar.gz"
sha256 "6f07b9bae3c7efba58363b53b4b2a9c2825406966b73907578f11e4d84067b5a"
def install
bin.install "fogg"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/chanzuckerberg/fogg/releases/download/v0.92.23/fogg_0.92.23_linux_arm64.tar.gz"
sha256 "65e0fcb7aec718744cc3884ac8631ad188d690589fa13d50024341fc6ff76510"
def install
bin.install "fogg"
end
end
end
end
test do
system "#{bin}/fogg version"
end
end