-
Notifications
You must be signed in to change notification settings - Fork 0
/
treblle.rb
51 lines (44 loc) · 1.43 KB
/
treblle.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Treblle < Formula
desc ""
homepage "https://github.com/Treblle/treblle-cli"
version "1.0.78"
on_macos do
on_intel do
url "https://github.com/Treblle/treblle-cli/releases/download/v1.0.78/treblle-cli_1.0.78_darwin_amd64.tar.gz"
sha256 "9ba44b9ef696b6dc93cc59a495a38e97d047a4d7f39954db3adce0ec4efa9726"
def install
bin.install "treblle"
end
end
on_arm do
url "https://github.com/Treblle/treblle-cli/releases/download/v1.0.78/treblle-cli_1.0.78_darwin_arm64.tar.gz"
sha256 "535575917acb39be4a57f4ca948ddc4b87f8cbea1e80b00637defeb930c1f523"
def install
bin.install "treblle"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/Treblle/treblle-cli/releases/download/v1.0.78/treblle-cli_1.0.78_linux_amd64.tar.gz"
sha256 "64744cbe7f0688b6abd88331f9e2753e312f12597ff44c96b2f060c935ed8a0e"
def install
bin.install "treblle"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/Treblle/treblle-cli/releases/download/v1.0.78/treblle-cli_1.0.78_linux_arm64.tar.gz"
sha256 "72b56b04533979d1a0656451938cc1928c1f4a6def85a099d2ec966a45eb6f9e"
def install
bin.install "treblle"
end
end
end
end
end