-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflog.rb
39 lines (33 loc) · 1.12 KB
/
flog.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Flog < Formula
desc "A fake log generator for common log formats"
homepage "https://github.com/mingrammer/flog"
version "0.4.4"
on_macos do
url "https://github.com/mingrammer/flog/releases/download/v0.4.4/flog_0.4.4_darwin_amd64.tar.gz", using: CurlDownloadStrategy
sha256 "707c4dcf3a9fa52ba329dc26c1707f17df28038e463780134c5c01f9a5b437a9"
def install
bin.install "flog"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Flog
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/mingrammer/flog/releases/download/v0.4.4/flog_0.4.4_linux_amd64.tar.gz", using: CurlDownloadStrategy
sha256 "16b7979822c4c2021a340ef87bf87cb280682713e5afd6148c0f66388bfe4651"
def install
bin.install "flog"
end
end
end
end