-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpluralith.rb
43 lines (36 loc) · 1.21 KB
/
pluralith.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Pluralith < Formula
desc "Pluralith is a tool for Terraform state visualisation and automated infrastructure documentation"
homepage "https://pluralith.com"
version "0.2.2"
on_macos do
url "https://github.com/Pluralith/pluralith-cli/releases/download/v0.2.2/pluralith_cli_tap_darwin_amd64_v0.2.2.tar.gz"
sha256 "c732e4c93102231d92e6872bce71783df60bc23a340e48cdd01001389627e4d5"
def install
bin.install "pluralith"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Pluralith
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/Pluralith/pluralith-cli/releases/download/v0.2.2/pluralith_cli_tap_linux_amd64_v0.2.2.tar.gz"
sha256 "6c01db115596774dad5a2445f3091e4c40c999237a1a0e3f0cf1a88fcc70684e"
def install
bin.install "pluralith"
end
end
end
test do
system "#{bin}/pluralith version"
end
end