-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdlp-cli.rb
63 lines (56 loc) · 2.14 KB
/
dlp-cli.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 DlpCli < Formula
desc ""
homepage ""
version "0.3.2"
on_macos do
on_intel do
url "https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.3.2/dlp-cli_Darwin_x86_64.tar.gz"
sha256 "315f14225eed193cbe04d8129dced164053de6a99cbf88b11bbcec71aeab9e87"
def install
bin.install "dlp-cli"
bash_completion.install "completions/dlp-cli.bash" => "dlp-cli"
zsh_completion.install "completions/dlp-cli.zsh" => "_dlp-cli"
fish_completion.install "completions/dlp-cli.fish"
end
end
on_arm do
url "https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.3.2/dlp-cli_Darwin_arm64.tar.gz"
sha256 "e680137ec20a745224910f45774b0ecd174138dd16a3280d7ecf7d839973307f"
def install
bin.install "dlp-cli"
bash_completion.install "completions/dlp-cli.bash" => "dlp-cli"
zsh_completion.install "completions/dlp-cli.zsh" => "_dlp-cli"
fish_completion.install "completions/dlp-cli.fish"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.3.2/dlp-cli_Linux_x86_64.tar.gz"
sha256 "31e93556dfd238aa21495f043d8c246c4c48023175686ffb7ac68762a0bcd178"
def install
bin.install "dlp-cli"
bash_completion.install "completions/dlp-cli.bash" => "dlp-cli"
zsh_completion.install "completions/dlp-cli.zsh" => "_dlp-cli"
fish_completion.install "completions/dlp-cli.fish"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.3.2/dlp-cli_Linux_arm64.tar.gz"
sha256 "3ebc4abf372ab2a80b446a6000174ba959bb14cc263b00f8000062aabffa9f2f"
def install
bin.install "dlp-cli"
bash_completion.install "completions/dlp-cli.bash" => "dlp-cli"
zsh_completion.install "completions/dlp-cli.zsh" => "_dlp-cli"
fish_completion.install "completions/dlp-cli.fish"
end
end
end
end
end