-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoman.rb
56 lines (49 loc) · 1.58 KB
/
goman.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 Goman < Formula
desc "The missing man pages for Go binaries"
homepage "https://github.com/appliedgocode/goman"
version "0.4.0"
license "BSD-3-Clause"
on_macos do
on_intel do
url "https://github.com/appliedgocode/goman/releases/download/v0.4.0/goman_0.4.0_darwin_amd64.tar.gz"
sha256 "e1900e9c3e5d65c56474650a85ccae6998ded2ff9f53de7fbf2a81393c744073"
def install
bin.install "goman"
man1.install "goman.1"
end
end
on_arm do
url "https://github.com/appliedgocode/goman/releases/download/v0.4.0/goman_0.4.0_darwin_arm64.tar.gz"
sha256 "b1f865ad210da92b2ef69fc0ad84a98cfb9717744588c40ac87acd568ecfc7f1"
def install
bin.install "goman"
man1.install "goman.1"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/appliedgocode/goman/releases/download/v0.4.0/goman_0.4.0_linux_amd64.tar.gz"
sha256 "05cc588a8ff07627d3f1ed72b3dac9ad86c5f1499fa2b4c1dbbc9c403467e44f"
def install
bin.install "goman"
man1.install "goman.1"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/appliedgocode/goman/releases/download/v0.4.0/goman_0.4.0_linux_arm64.tar.gz"
sha256 "dc87276cdd232ac79758001266521a735e37c422feb921bec8b31b638045695a"
def install
bin.install "goman"
man1.install "goman.1"
end
end
end
end
end