-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnowplow-cli.rb
More file actions
45 lines (40 loc) · 1.63 KB
/
snowplow-cli.rb
File metadata and controls
45 lines (40 loc) · 1.63 KB
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class SnowplowCli < Formula
desc "Work with Snowplow from the command line"
homepage "https://github.com/snowplow/snowplow-cli"
version "0.2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/snowplow/snowplow-cli/releases/download/v0.2.0/snowplow-cli_darwin_x86_64"
sha256 "10df53f5b291c6fad5c7a9b2d855c8111883943dbed2a7c40e14336b7d6ec346"
define_method(:install) do
bin.install "snowplow-cli_darwin_x86_64" => "snowplow-cli"
end
end
if Hardware::CPU.arm?
url "https://github.com/snowplow/snowplow-cli/releases/download/v0.2.0/snowplow-cli_darwin_arm64"
sha256 "bd538f0f1ce2d590a03d1440f7c4540ba6bc64f9e2a606dc42cf5263d74905b9"
define_method(:install) do
bin.install "snowplow-cli_darwin_arm64" => "snowplow-cli"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/snowplow/snowplow-cli/releases/download/v0.2.0/snowplow-cli_linux_x86_64"
sha256 "664f11a0de3e1602631982be4a5035236845a92a0f54caef35a015535130b1bd"
define_method(:install) do
bin.install "snowplow-cli_linux_x86_64" => "snowplow-cli"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/snowplow/snowplow-cli/releases/download/v0.2.0/snowplow-cli_linux_arm64"
sha256 "a0b5038b2eac42a2045ea134dbbcf51f4a99f1ef30836ea395c0fc7435c1085c"
define_method(:install) do
bin.install "snowplow-cli_linux_arm64" => "snowplow-cli"
end
end
end
end