-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtdl.rb
63 lines (54 loc) · 1.87 KB
/
tdl.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
57
58
59
60
61
62
63
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Tdl < Formula
desc "This is the tdl CLI tool used for running the interactive trainings on the https://academy.threedots.tech/"
homepage "https://academy.threedots.tech/"
version "0.1.47"
on_macos do
on_intel do
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.47/tdl_Darwin_x86_64"
sha256 "fefca0d171e96054ae7c182a93881302ddfd1f368cbee53ee2991bb54c3105c1"
def install
bin.install "tdl_Darwin_x86_64" => "tdl"
end
end
on_arm do
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.47/tdl_Darwin_arm64"
sha256 "2fcdcc9923dd847913bcfa12be56a94122bfa650df945b5ebdf244b8483f52cd"
def install
bin.install "tdl_Darwin_arm64" => "tdl"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.47/tdl_Linux_x86_64"
sha256 "1bb5c78184c5a6ee629c9c3230e2933a9b4324378eb4f5650b03945eaf25d537"
def install
bin.install "tdl_Linux_x86_64" => "tdl"
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.47/tdl_Linux_arm"
sha256 "e5bfc53d57a03a2046b57c09835dffd41a61469e2835b3b93bd767a4dc674d05"
def install
bin.install "tdl_Linux_arm" => "tdl"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.47/tdl_Linux_arm64"
sha256 "d822be876530b2e1777dcc46b3c4647f5efb7cb02c76c405350f3b4b96dee9bc"
def install
bin.install "tdl_Linux_arm64" => "tdl"
end
end
end
end
head "https://github.com/ThreeDotsLabs/cli.git"
end