-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhere.rb
55 lines (47 loc) · 1.59 KB
/
here.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Here < Formula
desc ""
homepage ""
version "0.6.5"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/gobuffalo/here/releases/download/v0.6.5/here_0.6.5_Darwin_x86_64.tar.gz"
sha256 "64c6e72d53e039835c20c284e51aec858db1e3bcf5ef13971dc4e3c18f900e43"
def install
bin.install "here"
end
end
if Hardware::CPU.arm?
url "https://github.com/gobuffalo/here/releases/download/v0.6.5/here_0.6.5_Darwin_arm64.tar.gz"
sha256 "a393b0263347f093d8a125e42ef394af2dd603d0528c9c5a1d37272322b3ffaf"
def install
bin.install "here"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/gobuffalo/here/releases/download/v0.6.5/here_0.6.5_Linux_x86_64.tar.gz"
sha256 "585af776cb02184d7095fb1c4de3e9f0f616a8c2bd4d49b6e39c1a52d8a2db1b"
def install
bin.install "here"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/gobuffalo/here/releases/download/v0.6.5/here_0.6.5_Linux_arm64.tar.gz"
sha256 "fb8017ac0134367da1d692bb9e82d2bd8d5e1f6128c28418c15c4fb153c10914"
def install
bin.install "here"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/gobuffalo/here/releases/download/v0.6.5/here_0.6.5_Linux_armv6.tar.gz"
sha256 "274e79df3c83a7fabe8f39dc24304fd2c0f5231d5aa830adfc647030be1c1d4f"
def install
bin.install "here"
end
end
end
end