-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoenv.rb
51 lines (44 loc) · 1.35 KB
/
goenv.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 Goenv < Formula
desc ""
homepage "https://github.com/Norwik/homebrew-tools"
version "1.16.0"
on_macos do
on_intel do
url "https://github.com/Norwik/Goenv/releases/download/v1.16.0/goenv_Darwin_x86_64.tar.gz"
sha256 "b65f86e7bb51ccf848deeebc1d83b3abaea46828364cce3b0d83735a1ff155f5"
def install
bin.install "goenv"
end
end
on_arm do
url "https://github.com/Norwik/Goenv/releases/download/v1.16.0/goenv_Darwin_arm64.tar.gz"
sha256 "b8893a2de85977b7c21ba784b96cc5375b3b2b0edda6c0b1366614ca02394ae6"
def install
bin.install "goenv"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/Norwik/Goenv/releases/download/v1.16.0/goenv_Linux_x86_64.tar.gz"
sha256 "eda924340e96a840359df30c2be3b9214f199f368267e46028de37a4550e8e8e"
def install
bin.install "goenv"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/Norwik/Goenv/releases/download/v1.16.0/goenv_Linux_arm64.tar.gz"
sha256 "834f901f61a6dab0aa9bd217380912a09e9a26398f87a2f273e1cf4155735976"
def install
bin.install "goenv"
end
end
end
end
end