-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnylas.rb
47 lines (40 loc) · 1.31 KB
/
nylas.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 Nylas < Formula
desc "Nylas Command Line Utility"
homepage "https://nylas.com"
version "1.0.3"
on_macos do
if Hardware::CPU.intel?
url "https://download.nylas.com/nylas-cli/v1.0.3/nylas-cli_1.0.3_Darwin_x86_64.tar.gz"
sha256 "ba03e82cb8010acb312c0e423c963ea71337e82d44577bfc0ac07be027a1024d"
def install
bin.install "nylas"
end
end
if Hardware::CPU.arm?
url "https://download.nylas.com/nylas-cli/v1.0.3/nylas-cli_1.0.3_Darwin_arm64.tar.gz"
sha256 "2184c1e3dcf0888b5eec0b8ec243d381fc32feb4f9b18049556e932100a23bfd"
def install
bin.install "nylas"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://download.nylas.com/nylas-cli/v1.0.3/nylas-cli_1.0.3_Linux_x86_64.tar.gz"
sha256 "cb77d4316ff79acc15e9b293c10f1e73612ea94e8a4368c5187fa115b0344769"
def install
bin.install "nylas"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://download.nylas.com/nylas-cli/v1.0.3/nylas-cli_1.0.3_Linux_arm64.tar.gz"
sha256 "eada24af10b5e4ed4da95a5c19e406d9cf85faa529864a4d8e4257df497b096a"
def install
bin.install "nylas"
end
end
end
end