-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetagraf.rb
41 lines (35 loc) · 1.03 KB
/
metagraf.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Metagraf < Formula
desc ""
homepage ""
version "0.1.22"
on_macos do
url "https://github.com/Norsk-Tipping/metagraf/releases/download/v0.1.22/mg-0.1.22-darwin-amd64.tar.gz"
sha256 "3199edb4d77fb67cc5bc83568c8b0cf574805011d87b8244c0ae47aaece5950c"
def install
bin.install "mg"
end
on_arm do
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Metagraf
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
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/Norsk-Tipping/metagraf/releases/download/v0.1.22/mg-0.1.22-linux-amd64.tar.gz"
sha256 "6d8a1f1631856e5369887eb5caeb372cb8ad8fa004e6e5e9f37d913e6c4c5b66"
def install
bin.install "mg"
end
end
end
end
end