-
Notifications
You must be signed in to change notification settings - Fork 1
/
warrant.rb
47 lines (40 loc) · 1.38 KB
/
warrant.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 Warrant < Formula
desc ""
homepage "https://warrant.dev"
version "0.13.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/warrant-dev/warrant-cli/releases/download/v0.13.0/warrant-cli_Darwin_x86_64.tar.gz"
sha256 "c5e796dca0ddc0a71297ebc5acec38f81129f9ead2bec153afc4301858db2032"
def install
bin.install "warrant"
end
end
if Hardware::CPU.arm?
url "https://github.com/warrant-dev/warrant-cli/releases/download/v0.13.0/warrant-cli_Darwin_arm64.tar.gz"
sha256 "ab337c2979e964e2040d5a76f0e025c8d3ef29b8e1247a13ff3bd65e690c131b"
def install
bin.install "warrant"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/warrant-dev/warrant-cli/releases/download/v0.13.0/warrant-cli_Linux_arm64.tar.gz"
sha256 "f9baba8fd3f08f0360845d38bc1a31d3afdf89c399d7356481796f55b5391090"
def install
bin.install "warrant"
end
end
if Hardware::CPU.intel?
url "https://github.com/warrant-dev/warrant-cli/releases/download/v0.13.0/warrant-cli_Linux_x86_64.tar.gz"
sha256 "6e867e96b0a819c9b0123ce18c3b100a0f34ff8d17e4e674451caa0eec1bd589"
def install
bin.install "warrant"
end
end
end
end