-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathomni-cache.rb
More file actions
59 lines (53 loc) · 1.87 KB
/
Copy pathomni-cache.rb
File metadata and controls
59 lines (53 loc) · 1.87 KB
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
57
58
59
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class OmniCache < Formula
desc ""
homepage ""
version "1.3.0"
license "FSL-1.1-ALv2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/cirruslabs/omni-cache/releases/download/v1.3.0/omni-cache-darwin-amd64.tar.gz"
sha256 "df44c3e8817ab756431cf0b843f72aeb17524794ffdfb7f47d3dcc7d114639e5"
define_method(:install) do
bin.install "omni-cache"
end
end
if Hardware::CPU.arm?
url "https://github.com/cirruslabs/omni-cache/releases/download/v1.3.0/omni-cache-darwin-arm64.tar.gz"
sha256 "924a11fc8f1c6da407517c842412e9f6c75ce15fdb8ec2efdfe32e16f163d569"
define_method(:install) do
bin.install "omni-cache"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/omni-cache/releases/download/v1.3.0/omni-cache-linux-amd64.tar.gz"
sha256 "593d0d80d3a94fe4b32d8ae248f378d9b57ee84f768e7dcef084c08e48a47e04"
define_method(:install) do
bin.install "omni-cache"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/omni-cache/releases/download/v1.3.0/omni-cache-linux-arm.tar.gz"
sha256 "3d8d5a2c1721a5206a1cc6f32130a7604800e4ccd3593468f8cbd8688de41c79"
define_method(:install) do
bin.install "omni-cache"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/omni-cache/releases/download/v1.3.0/omni-cache-linux-arm64.tar.gz"
sha256 "2f716ec64b7d1f59cf214a41d103cf7ec74df3f0f18e3c645e5b8d1d13621234"
define_method(:install) do
bin.install "omni-cache"
end
end
end
def caveats
<<~EOS
See the Github repository for more information
EOS
end
end