-
Notifications
You must be signed in to change notification settings - Fork 0
/
rill.rb
56 lines (48 loc) · 1.37 KB
/
rill.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
56
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Rill < Formula
desc "The Rill CLI"
homepage "https://github.com/rilldata/rill"
version "0.52.4"
license "Apache 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://cdn.rilldata.com/rill/v0.52.4/rill_darwin_amd64.zip"
sha256 "cdba3ed5e8adbba106b0c3b4a31a04a76f0363f17de11a2ded8128009e398991"
def install
bin.install "rill"
end
end
if Hardware::CPU.arm?
url "https://cdn.rilldata.com/rill/v0.52.4/rill_darwin_arm64.zip"
sha256 "2b34d958ceee5410c39c391e52c47917f938e48529e7b708b92f287c1a469528"
def install
bin.install "rill"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://cdn.rilldata.com/rill/v0.52.4/rill_linux_amd64.zip"
sha256 "26b47024d937ed56fa258e1cba87e95328fe5d8dcffc16e35cd6b3ea088e3e49"
def install
bin.install "rill"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://cdn.rilldata.com/rill/v0.52.4/rill_linux_arm64.zip"
sha256 "04f965c7bc9dcad21121ce5e4c4d3264ad0bccdd574232f31f4a1169ad8f953b"
def install
bin.install "rill"
end
end
end
end
test do
system "#{bin}/rill --version"
end
end