-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrill.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.53.1"
license "Apache 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://cdn.rilldata.com/rill/v0.53.1/rill_darwin_amd64.zip"
sha256 "e7d89a5eba35552422ab773041f8c5e4a012242611dbf616d6984505856efa77"
def install
bin.install "rill"
end
end
if Hardware::CPU.arm?
url "https://cdn.rilldata.com/rill/v0.53.1/rill_darwin_arm64.zip"
sha256 "e5d662c8e09d0bb4e9273e13181bbd438848675209b3777251641bb5db5fde28"
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.53.1/rill_linux_amd64.zip"
sha256 "214d07f285efe785fa223e24b7e730dc94c8b9677caf9770f67832d70ee24ed6"
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.53.1/rill_linux_arm64.zip"
sha256 "83f47de302a88ebc04162b6eacd4d64e8ea108653eb5acd13e1e7e014a1a2ea5"
def install
bin.install "rill"
end
end
end
end
test do
system "#{bin}/rill --version"
end
end