-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgpq.rb
56 lines (48 loc) · 1.44 KB
/
gpq.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 Gpq < Formula
desc "Utility for working with GeoParquet."
homepage "https://github.com/planetlabs/gpq"
version "0.24.0"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/planetlabs/gpq/releases/download/v0.24.0/gpq-darwin-amd64.tar.gz"
sha256 "5479e22385c080b3c01f558ed4121f29cf045230c250d646c9651e6b8e1fee8f"
def install
bin.install "gpq"
end
end
on_arm do
url "https://github.com/planetlabs/gpq/releases/download/v0.24.0/gpq-darwin-arm64.tar.gz"
sha256 "fd9621b33b6faceb123a57c9cf0371ca9f3b2743dbc93b2021db2d5135f69636"
def install
bin.install "gpq"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/planetlabs/gpq/releases/download/v0.24.0/gpq-linux-amd64.tar.gz"
sha256 "edb7c95daee8614d3c5be260ac071f66ef90706c00bc142d5396f521d8590e83"
def install
bin.install "gpq"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/planetlabs/gpq/releases/download/v0.24.0/gpq-linux-arm64.tar.gz"
sha256 "2890e09d6860ce079dd5daa802d966a69c46c913aa68fed328480d103956d860"
def install
bin.install "gpq"
end
end
end
end
test do
system "#{bin}/gpq version"
end
end