-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
/
cli53.rb
29 lines (25 loc) 路 1.59 KB
/
cli53.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
class Cli53 < Formula
desc "Command-line tool for Amazon Route 53"
homepage "https://github.com/barnybug/cli53"
url "https://github.com/barnybug/cli53/archive/refs/tags/0.8.22.tar.gz"
sha256 "5acf576662cf8cb01ecbe027dfc3531e19bd03c1cd22425125e2a0a986273a7a"
license "MIT"
bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ef23798b7feb21fe2dcf19360548b44ea5e6d0d3ce755d6a295a30e24d82dd06"
sha256 cellar: :any_skip_relocation, arm64_ventura: "fb27aef03a8a1238d7d6daebc3b1a40569c3895b3ff94deb2cbf600b3001e4e9"
sha256 cellar: :any_skip_relocation, arm64_monterey: "fb27aef03a8a1238d7d6daebc3b1a40569c3895b3ff94deb2cbf600b3001e4e9"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "fb27aef03a8a1238d7d6daebc3b1a40569c3895b3ff94deb2cbf600b3001e4e9"
sha256 cellar: :any_skip_relocation, sonoma: "4b947c58451743f9290db4cec6ee0b6c3fb1293050a924e98f765da5987357ad"
sha256 cellar: :any_skip_relocation, ventura: "0cbae4a4ed0e2f14e48ae285d665b9d683a4f3c23b74735992f4a6d77c5fe0de"
sha256 cellar: :any_skip_relocation, monterey: "0cbae4a4ed0e2f14e48ae285d665b9d683a4f3c23b74735992f4a6d77c5fe0de"
sha256 cellar: :any_skip_relocation, big_sur: "0cbae4a4ed0e2f14e48ae285d665b9d683a4f3c23b74735992f4a6d77c5fe0de"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fe47a8f80755ada1e60568573e4cf46bc61307892747d726ad9899b89f093ff5"
end
depends_on "go" => :build
def install
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/cli53"
end
test do
assert_match "list domains", shell_output("#{bin}/cli53 help list")
end
end