-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtomba.rb
55 lines (46 loc) · 1.49 KB
/
tomba.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
53
54
55
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Tomba < Formula
desc "CLI utility to search or verify lists of email addresses in minutes."
homepage "https://tomba.io"
version "v1.0.4-next"
license "Apache-2.0"
depends_on "git"
depends_on "go" => :optional
on_macos do
if Hardware::CPU.arm?
url "/~https://github.com/tomba-io/tomba/releases/download/v1.0.4/tomba_darwin_arm64.tar.gz"
sha256 "0632e5b0a91caa2611ae9573783fb54a4a48730bb3ad89b697c3ab2b5639081c"
def install
bin.install "tomba"
end
end
if Hardware::CPU.intel?
url "/~https://github.com/tomba-io/tomba/releases/download/v1.0.4/tomba_darwin_amd64.tar.gz"
sha256 "d929bc9283bd4bb4fd81e4e73c555c72cd81c181c0990a3868e1a6e83b60eb90"
def install
bin.install "tomba"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "/~https://github.com/tomba-io/tomba/releases/download/v1.0.4/tomba_linux_arm64.tar.gz"
sha256 "9911ce119a69d4889f3e68965a382dc6e5a08520ac439624c46904f22e79f369"
def install
bin.install "tomba"
end
end
if Hardware::CPU.intel?
url "/~https://github.com/tomba-io/tomba/releases/download/v1.0.4/tomba_linux_amd64.tar.gz"
sha256 "8a0a6e48f13c7946ff36b7a81f9bfc135c346fe61a71487efdfedd476e3b6f45"
def install
bin.install "tomba"
end
end
end
test do
system "#{bin}/tomba version"
end
end