-
Notifications
You must be signed in to change notification settings - Fork 95
/
eksdemo.rb
66 lines (58 loc) · 2.29 KB
/
eksdemo.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
64
65
66
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Eksdemo < Formula
desc "The easy button for learning, testing and demoing Amazon EKS"
homepage "https://github.com/awslabs/eksdemo"
version "0.17.0"
license "MIT-0"
depends_on "weaveworks/tap/eksctl"
on_macos do
on_intel do
url "https://github.com/awslabs/eksdemo/releases/download/v0.17.0/eksdemo_Darwin_x86_64.tar.gz"
sha256 "1e6a862475889936af463530c1f8957fb549520ac3ebe842cf6bbca44b73d951"
def install
bin.install "eksdemo"
bash_completion.install "completions/eksdemo.bash" => "eksdemo"
zsh_completion.install "completions/eksdemo.zsh" => "_eksdemo"
fish_completion.install "completions/eksdemo.fish"
end
end
on_arm do
url "https://github.com/awslabs/eksdemo/releases/download/v0.17.0/eksdemo_Darwin_arm64.tar.gz"
sha256 "a915c400a667e1a77063f07ab1fad0e12ffbb7065ba9e56d652115d899dafaa4"
def install
bin.install "eksdemo"
bash_completion.install "completions/eksdemo.bash" => "eksdemo"
zsh_completion.install "completions/eksdemo.zsh" => "_eksdemo"
fish_completion.install "completions/eksdemo.fish"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/awslabs/eksdemo/releases/download/v0.17.0/eksdemo_Linux_x86_64.tar.gz"
sha256 "368b9f35657ef30da8ea458ff8ed5ca88e5b02dc814a7e7136a8ea70c4f121d9"
def install
bin.install "eksdemo"
bash_completion.install "completions/eksdemo.bash" => "eksdemo"
zsh_completion.install "completions/eksdemo.zsh" => "_eksdemo"
fish_completion.install "completions/eksdemo.fish"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/awslabs/eksdemo/releases/download/v0.17.0/eksdemo_Linux_arm64.tar.gz"
sha256 "b1cadcd9ac2924578d391eca0e3c859457c243af7365f685e01e818a3c1e30d4"
def install
bin.install "eksdemo"
bash_completion.install "completions/eksdemo.bash" => "eksdemo"
zsh_completion.install "completions/eksdemo.zsh" => "_eksdemo"
fish_completion.install "completions/eksdemo.fish"
end
end
end
end
end