-
Notifications
You must be signed in to change notification settings - Fork 0
/
libops.rb
47 lines (40 loc) · 1.37 KB
/
libops.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 Libops < Formula
desc ""
homepage "https://github.com/libops/homebrew-cli"
version "0.4.8"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/LibOps/homebrew-cli/releases/download/0.4.8/homebrew-cli_Darwin_arm64.tar.gz"
sha256 "1b2fe06ed55eec2e9f80148f4d2e252c4a0d4d1c713bff1d960e77e8233b87b8"
def install
bin.install "libops"
end
end
if Hardware::CPU.intel?
url "https://github.com/LibOps/homebrew-cli/releases/download/0.4.8/homebrew-cli_Darwin_x86_64.tar.gz"
sha256 "31934c8ce5ba81f75b73f4c4db9abf0e7fb16c145436ef6bfcbbd320818b9df5"
def install
bin.install "libops"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/LibOps/homebrew-cli/releases/download/0.4.8/homebrew-cli_Linux_arm64.tar.gz"
sha256 "81da4801a300b524382a30f9ef0b335e7fac4292e2fdbd0c06444ac7ec315c19"
def install
bin.install "libops"
end
end
if Hardware::CPU.intel?
url "https://github.com/LibOps/homebrew-cli/releases/download/0.4.8/homebrew-cli_Linux_x86_64.tar.gz"
sha256 "642e2bd71782b460157653de02257be96756f580db236232e672cf431b180a31"
def install
bin.install "libops"
end
end
end
end