-
Notifications
You must be signed in to change notification settings - Fork 1
/
rockset.rb
47 lines (40 loc) · 1.33 KB
/
rockset.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 Rockset < Formula
desc "Rockset CLI"
homepage "https://github.com/rockset/cli"
version "0.0.25"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/rockset/cli/releases/download/v0.0.25/rockset_Darwin_x86_64.tar.gz"
sha256 "6b777a05b439c0d1cf88eb69157a539e5cb18862074ae5699806e19885bd6b37"
def install
bin.install "rockset"
end
end
if Hardware::CPU.arm?
url "https://github.com/rockset/cli/releases/download/v0.0.25/rockset_Darwin_arm64.tar.gz"
sha256 "1d1d7874c87eb50aa75958b83cee940c99dda89545053a2807fd31ff7b63d252"
def install
bin.install "rockset"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/rockset/cli/releases/download/v0.0.25/rockset_Linux_x86_64.tar.gz"
sha256 "b7bea793301e38e5b47caf42d7f229ae65d53959f3ff01bfa14c78e3ad67d057"
def install
bin.install "rockset"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/rockset/cli/releases/download/v0.0.25/rockset_Linux_arm64.tar.gz"
sha256 "3ec9c92958614444036dd8fc9c63a143f93033800deb89cb37f4b42f5af81318"
def install
bin.install "rockset"
end
end
end
end