This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
subst.rb
56 lines (48 loc) · 1.71 KB
/
subst.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
56
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Subst < Formula
desc ""
homepage ""
version "0.0.1-alpha9"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/buttahtoast/subst/releases/download/v0.0.1-alpha9/subst_0.0.1-alpha9_darwin_amd64.tar.gz"
sha256 "dfd31dc2e0f2373baf52732a2674bb45b297f4beb2aa3111847e48b191506e05"
def install
bin.install "subst"
end
end
if Hardware::CPU.arm?
url "https://github.com/buttahtoast/subst/releases/download/v0.0.1-alpha9/subst_0.0.1-alpha9_darwin_arm64.tar.gz"
sha256 "8407cb57e0457d95ebbd005afdff05aa060a13112223773dcdda5400b3013755"
def install
bin.install "subst"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/buttahtoast/subst/releases/download/v0.0.1-alpha9/subst_0.0.1-alpha9_linux_arm64.tar.gz"
sha256 "718eb07b606178f731d803dddd5c938bbddf53fe12c4f56212cfc2d81650a1a5"
def install
bin.install "subst"
end
end
if Hardware::CPU.intel?
url "https://github.com/buttahtoast/subst/releases/download/v0.0.1-alpha9/subst_0.0.1-alpha9_linux_amd64.tar.gz"
sha256 "36fb49ca08918c2e117de8431fa3e6650406ec94393b80add18e71b4d91b8d12"
def install
bin.install "subst"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/buttahtoast/subst/releases/download/v0.0.1-alpha9/subst_0.0.1-alpha9_linux_armv6.tar.gz"
sha256 "7d4e84438f9d1442a99bbd9cef161f8f641ffe67174ea1bc47dcba8098f1ad26"
def install
bin.install "subst"
end
end
end
end