-
Notifications
You must be signed in to change notification settings - Fork 0
/
sesamy-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.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.0/sesamy-cli_0.10.0_darwin_amd64.tar.gz"
sha256 "eea55f41530a009e01a993a3dea3ccc3b1bb041b8b49993da50ed048a92627b8"
def install
bin.install "sesamy"
end
end
if Hardware::CPU.arm?
url "https://github.com/foomo/sesamy-cli/releases/download/v0.10.0/sesamy-cli_0.10.0_darwin_arm64.tar.gz"
sha256 "9a3c00089d50637b2a9226022bcca88f88e80513fb3ef18d55010f506233374e"
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.0/sesamy-cli_0.10.0_linux_amd64.tar.gz"
sha256 "53b1860a28089cdde10db103f5ebd6eb0d176edeeaac9b08658d0af62fc735c9"
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.0/sesamy-cli_0.10.0_linux_arm64.tar.gz"
sha256 "40e081443caff37592516a87fd45afc15810c0d18a0855775ee32c23de1bdeb6"
def install
bin.install "sesamy"
end
end
end
end
def caveats
<<~EOS
sesamy --help
EOS
end
end