-
Notifications
You must be signed in to change notification settings - Fork 3
/
awsu.rb
47 lines (40 loc) · 1.41 KB
/
awsu.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Awsu < Formula
desc "It provides a convenient integration of AWS virtual MFA devices into commandline based workflows."
homepage "https://github.com/kreuzwerker/awsu"
version "2.3.11"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/kreuzwerker/awsu/releases/download/v2.3.11/awsu_Darwin_x86_64.tar.gz"
sha256 "4131374dff4bd258760441dad9f1f6183f7ef8d941377722425b01d326db0875"
def install
bin.install "awsu"
end
end
if Hardware::CPU.arm?
url "https://github.com/kreuzwerker/awsu/releases/download/v2.3.11/awsu_Darwin_arm.tar.gz"
sha256 "4131374dff4bd258760441dad9f1f6183f7ef8d941377722425b01d326db0875"
def install
bin.install "awsu"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/kreuzwerker/awsu/releases/download/v2.3.11/awsu_Linux_arm.tar.gz"
sha256 "fedeaa28f028fe9220bdc5dc566db8346ccc2d8d527be237049321f2028aaabe"
def install
bin.install "awsu"
end
end
if Hardware::CPU.intel?
url "https://github.com/kreuzwerker/awsu/releases/download/v2.3.11/awsu_Linux_x86_64.tar.gz"
sha256 "fedeaa28f028fe9220bdc5dc566db8346ccc2d8d527be237049321f2028aaabe"
def install
bin.install "awsu"
end
end
end
end