-
Notifications
You must be signed in to change notification settings - Fork 44
/
chainsaw.rb
51 lines (44 loc) · 1.43 KB
/
chainsaw.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Chainsaw < Formula
desc "Declarative Kubernetes end-to-end testing."
homepage "https://kyverno.github.io/chainsaw"
version "0.2.11"
on_macos do
on_intel do
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.11/chainsaw_darwin_amd64.tar.gz"
sha256 "940362446fff7598395392ee7c2b1d306e4d6f27be9c29d65997ac8678dbb087"
def install
bin.install "chainsaw"
end
end
on_arm do
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.11/chainsaw_darwin_arm64.tar.gz"
sha256 "8669c23d25774f2a39749d9ee80c36219ab669c8251a3ed5d04fc9ec13a1af11"
def install
bin.install "chainsaw"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.11/chainsaw_linux_amd64.tar.gz"
sha256 "0a91b6e2f7181300e99a91a80f69e6a7dc4bee9b4bda1d73fdce6f8d6ed1e486"
def install
bin.install "chainsaw"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kyverno/chainsaw/releases/download/v0.2.11/chainsaw_linux_arm64.tar.gz"
sha256 "3b2f109d70f2e3871ed95dac2c0bbd697aa5ef0f38636e158f6e7d745b96d504"
def install
bin.install "chainsaw"
end
end
end
end
end