-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsesamy-cli.rb
57 lines (49 loc) · 1.57 KB
/
sesamy-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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class SesamyCli < Formula
desc "CLI utitlity to manage Server Side Tag Management"
homepage "https://github.com/foomo/sesamy-cli"
version "0.10.1"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.1/sesamy-cli_0.10.1_darwin_amd64.tar.gz"
sha256 "2ebe8f6f6691b419b6489d27f015fa783e75b5d3d3f473e84bb03ec5ad203583"
def install
bin.install "sesamy"
end
end
if Hardware::CPU.arm?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.1/sesamy-cli_0.10.1_darwin_arm64.tar.gz"
sha256 "c344dbf697c954f5b285cde89275b2d1704cfe63475f3fe3fd8f65b5a3d1a8d6"
def install
bin.install "sesamy"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.1/sesamy-cli_0.10.1_linux_amd64.tar.gz"
sha256 "fbb848c885ed2746d2a15ca21da67994246268206fb01198aec66894ac7c4a72"
def install
bin.install "sesamy"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.1/sesamy-cli_0.10.1_linux_arm64.tar.gz"
sha256 "a708b9ba22cdcc93eae6f4bb8aafa6b625f5bc35f9bffd915322ef4da14d8c64"
def install
bin.install "sesamy"
end
end
end
end
def caveats
<<~EOS
sesamy --help
EOS
end
end