-
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.60.6"
license "Apache 2.0"
on_macos do
if Hardware::CPU.intel?
url "https://cdn.rilldata.com/rill/v0.60.6/rill_darwin_amd64.zip"
sha256 "489a19c1057f7dfd664b4c72a0325be6fc25b2c15446540caee1547b4dda3180"
def install
bin.install "rill"
end
end
if Hardware::CPU.arm?
url "https://cdn.rilldata.com/rill/v0.60.6/rill_darwin_arm64.zip"
sha256 "be58aeec2dc7bf1d776e34e8b47c6edebfd9782905df68fc95b5c714437a56a0"
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.60.6/rill_linux_amd64.zip"
sha256 "21c6bafefdf9ec7e4d504221f2bb2e08ad47e0316432f142f3acaaaa3bbe3082"
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.60.6/rill_linux_arm64.zip"
sha256 "507ca985569174ba63616bdc0dba1dabb4fb99bce48030bb3ca4ac902e949d8c"
def install
bin.install "rill"
end
end
end
end
test do
system "#{bin}/rill --version"
end
end