-
Notifications
You must be signed in to change notification settings - Fork 1
/
zq.rb
54 lines (47 loc) · 1.5 KB
/
zq.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Zq < Formula
desc "A command-line tool for processing data in diverse input formats,
providing search, analytics, and extensive transormations using the Zed
query language.
"
homepage "https://github.com/brimdata/zed"
version "1.18.0"
on_macos do
on_intel do
url "https://github.com/brimdata/zed/releases/download/v1.18.0/zed-v1.18.0.darwin-amd64.tar.gz"
sha256 "3cfb3c37edf0793ca75a47df73f4be77ce6e534bfe7d103283b9391c279df2cd"
def install
bin.install "zq"
end
end
on_arm do
url "https://github.com/brimdata/zed/releases/download/v1.18.0/zed-v1.18.0.darwin-arm64.tar.gz"
sha256 "b7af92d873f6486b2dab852093e0a94b4250dead5cf072dede098acbe1765b14"
def install
bin.install "zq"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/brimdata/zed/releases/download/v1.18.0/zed-v1.18.0.linux-amd64.tar.gz"
sha256 "3f9c61d28e08aaff03cbeaadceb08da36296055b835182d1a6c50c401271060f"
def install
bin.install "zq"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/brimdata/zed/releases/download/v1.18.0/zed-v1.18.0.linux-arm64.tar.gz"
sha256 "dfa109865e2d5d7c2b6c6b36b2b763bd3e2e34f74ea6cbcf7fc18c266a48f88a"
def install
bin.install "zq"
end
end
end
end
end