-
Notifications
You must be signed in to change notification settings - Fork 3
/
teller.rb
52 lines (45 loc) · 1.6 KB
/
teller.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
48
49
50
51
52
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Teller < Formula
desc "A secret manager for developers - never leave your terminal for secrets"
homepage "https://github.com/spectralops/teller"
version "1.5.6"
license "Apache 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/tellerops/teller/releases/download/v1.5.6/teller_1.5.6_Darwin_x86_64.tar.gz"
sha256 "00489af0ca4edd8a62e1d465e3c02fb4dafc6495f3abf2d96c6a2f4c561b5dd4"
def install
bin.install "teller"
ln_s bin/"teller", bin/"tlr"
end
end
if Hardware::CPU.arm?
url "https://github.com/tellerops/teller/releases/download/v1.5.6/teller_1.5.6_Darwin_arm64.tar.gz"
sha256 "fddeec76ebe4517bcbdba27aaebef2ad3c69cd7d1c8868f9222bf7dfadd627e7"
def install
bin.install "teller"
ln_s bin/"teller", bin/"tlr"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/tellerops/teller/releases/download/v1.5.6/teller_1.5.6_Linux_x86_64.tar.gz"
sha256 "5724f50ec15f091c7e8557b212f5216c493bee30e47af54ae5430ae32ddeee14"
def install
bin.install "teller"
ln_s bin/"teller", bin/"tlr"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/tellerops/teller/releases/download/v1.5.6/teller_1.5.6_Linux_arm64.tar.gz"
sha256 "5f4d00a4126df6e875dedb81669ec71e1002b9f7b088fd1758261f03a67da679"
def install
bin.install "teller"
ln_s bin/"teller", bin/"tlr"
end
end
end
end