-
Notifications
You must be signed in to change notification settings - Fork 96
/
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.16.0"
license "MIT-0"
depends_on "weaveworks/tap/eksctl"
on_macos do
on_intel do
url "https://github.com/awslabs/eksdemo/releases/download/v0.16.0/eksdemo_Darwin_x86_64.tar.gz"
sha256 "521a0b00eaea3bf544584f9b3abbb6362766e85fcae32860dc0f2f6f24891cff"
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.16.0/eksdemo_Darwin_arm64.tar.gz"
sha256 "0fdf1fe5e793dfe467dbe79da45c08ce5c374e9c3e42970a1843c1125739834b"
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.16.0/eksdemo_Linux_x86_64.tar.gz"
sha256 "93e8b09085fa76d76f3c81591d57829a0a6e29ff4bc4b3fc04f2808f12daa2bb"
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.16.0/eksdemo_Linux_arm64.tar.gz"
sha256 "967283460aa8169b948e9b5dc10e78ca2906ba8145b93836ac71172e48143f3b"
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