-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtf-bootstrap.rb
51 lines (44 loc) · 1.51 KB
/
tf-bootstrap.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class TfBootstrap < Formula
desc ""
homepage "https://github.com/netvolart/tf-bootstrap"
version "0.0.1"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/netvolart/tf-bootstrap/releases/download/v0.0.1/tf-bootstrap_0.0.1_darwin_amd64.tar.gz"
sha256 "ee36cac39db99980d4032543579b263375cf51f46717ac81bae9aa23435e57ad"
def install
bin.install "tf-bootstrap"
end
end
if Hardware::CPU.arm?
url "https://github.com/netvolart/tf-bootstrap/releases/download/v0.0.1/tf-bootstrap_0.0.1_darwin_arm64.tar.gz"
sha256 "6599e2251c0aec2979197d0d2b256aff0c46c8f9005b7b72711f90f82f0587e6"
def install
bin.install "tf-bootstrap"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/netvolart/tf-bootstrap/releases/download/v0.0.1/tf-bootstrap_0.0.1_linux_amd64.tar.gz"
sha256 "9ff3322e7fe9b0797bfb5ed57be715033e3a14f31c60f4094ee7e9adc4e14406"
def install
bin.install "tf-bootstrap"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/netvolart/tf-bootstrap/releases/download/v0.0.1/tf-bootstrap_0.0.1_linux_arm64.tar.gz"
sha256 "cda305fe05a3eb05e4a6147dc2cb418fd9501c896d3437450f48026aaa409f35"
def install
bin.install "tf-bootstrap"
end
end
end
end
end