-
Notifications
You must be signed in to change notification settings - Fork 1
/
humanlog.rb
47 lines (40 loc) · 1.35 KB
/
humanlog.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Humanlog < Formula
desc ""
homepage ""
version "0.7.5"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/humanlogio/humanlog/releases/download/v0.7.5/humanlog_0.7.5_darwin_amd64.tar.gz"
sha256 "53ae2e0bdb587e73208974ff9f3ddb6bf334ec12bfdc808f0c2672c223e7d74a"
def install
bin.install "humanlog"
end
end
if Hardware::CPU.arm?
url "https://github.com/humanlogio/humanlog/releases/download/v0.7.5/humanlog_0.7.5_darwin_arm64.tar.gz"
sha256 "93e201d33286db5578564d1f4a0967e1511192a9ee398ccc132b0499f69b4a3e"
def install
bin.install "humanlog"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/humanlogio/humanlog/releases/download/v0.7.5/humanlog_0.7.5_linux_arm64.tar.gz"
sha256 "7a6af76eb60ae6108d6a6f53f8451e08e6a0fead5b84f2edb71979c485d64ea9"
def install
bin.install "humanlog"
end
end
if Hardware::CPU.intel?
url "https://github.com/humanlogio/humanlog/releases/download/v0.7.5/humanlog_0.7.5_linux_amd64.tar.gz"
sha256 "329d26975d11b3843d0d31e7cbcfba95bc86fba5e15f8077284199b2612ede63"
def install
bin.install "humanlog"
end
end
end
end