-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtdl.rb
More file actions
63 lines (54 loc) · 1.87 KB
/
Copy pathtdl.rb
File metadata and controls
63 lines (54 loc) · 1.87 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
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.83"
on_macos do
on_intel do
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.83/tdl_Darwin_x86_64"
sha256 "b66484ad3388f98774ba627657fc568884f13fd001a0041c66c5c2e8654a0b99"
def install
bin.install "tdl_Darwin_x86_64" => "tdl"
end
end
on_arm do
url "https://github.com/ThreeDotsLabs/cli/releases/download/v0.1.83/tdl_Darwin_arm64"
sha256 "d969a3bf1b731f23defac25ddaa2203909f310d305a10d831117fe2c1abf2e27"
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.83/tdl_Linux_x86_64"
sha256 "1589b783d0d8e5dd73617daa14f678a8829b26222facbc909f81f49d14aeffff"
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.83/tdl_Linux_arm"
sha256 "e0a46a9e9657c17aa3006132e464e0933f154869cefd0424ca28a03e682218e2"
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.83/tdl_Linux_arm64"
sha256 "97fca8bd9babd4b5514c805103e7f317960f44dd5d8a02a0e126a6f60996b184"
def install
bin.install "tdl_Linux_arm64" => "tdl"
end
end
end
end
head "https://github.com/ThreeDotsLabs/cli.git"
end