This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfusion.rb
48 lines (41 loc) · 1.46 KB
/
fusion.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Fusion < Formula
desc "Generate secure by default cloud infrastructure configuration with Go and Terraform"
homepage "https://github.com/slalombuild/fusion"
version "0.2.5"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/slalombuild/fusion/releases/download/v0.2.5/fusion_0.2.5_darwin_amd64.tar.gz"
sha256 "0ef966b1765868d9dc76a1cd86b011f826cba294ad3e3093dac014ef50063780"
def install
bin.install "fusion"
end
end
if Hardware::CPU.arm?
url "https://github.com/slalombuild/fusion/releases/download/v0.2.5/fusion_0.2.5_darwin_arm64.tar.gz"
sha256 "8a8811537d6aba309bb5d6da3755e7f6e6f4cfbd2639298e8ff76518c65a08ed"
def install
bin.install "fusion"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/slalombuild/fusion/releases/download/v0.2.5/fusion_0.2.5_linux_amd64.tar.gz"
sha256 "632fd01156bd7887e919ab4239c0777a0a5e31506693b54775a26c87c67e1516"
def install
bin.install "fusion"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/slalombuild/fusion/releases/download/v0.2.5/fusion_0.2.5_linux_arm64.tar.gz"
sha256 "8337478f3888c6b8a696aafdcf618651c9721fd409b4563012d2c09040bb41ce"
def install
bin.install "fusion"
end
end
end
end