File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed
Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1+ class TctlAT1126 < Formula
2+ desc "Tetrate Service Bridge Command Line Interface 1.12.6"
3+ homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+ version "1.12.6"
5+ license "Commercial"
6+ conflicts_with "tctl" , because : "Provides the same binary"
7+
8+ if Hardware ::CPU . intel?
9+ url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-amd64-1.12.6/tctl"
10+ sha256 "d73002dff245fdd4ed0f50b8e36be42a8910a1297c3a13d0356cb0bf54fe8490" # Intel
11+ else
12+ url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.6/tctl"
13+ sha256 "173e76dbe320b324644e609d9a1a9f67ca986e9f215f202ed236dc0ed7e8d892" # ARM
14+ end
15+
16+ def install
17+ bin . install "tctl" => "tctl-1.12.6"
18+ bin . install_symlink "tctl-1.12.6" => "tctl@1.12.6"
19+ end
20+
21+ test do
22+ assert_match version . to_s , shell_output ( "\# {bin}/tctl@1.12.6 version 2>&1" )
23+ end
24+ end
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ class Tctl < Formula
99
1010 if Hardware ::CPU . intel?
1111 url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-amd64-#{ version } /tctl"
12- sha256 "d4f94b0419bfd0d592d945c4dda2ec5f5a8d57d85dfc43c8a7fbfe8b6e9ea6eb " # Intel
12+ sha256 "d73002dff245fdd4ed0f50b8e36be42a8910a1297c3a13d0356cb0bf54fe8490 " # Intel
1313 else
1414 url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{ version } /tctl"
15- sha256 "1b115cdaf0d839b6c8431ce1ad79cbb466b8282cf5de6080237b4a3864583110 " # ARM
15+ sha256 "173e76dbe320b324644e609d9a1a9f67ca986e9f215f202ed236dc0ed7e8d892 " # ARM
1616 end
1717
1818 def install
You can’t perform that action at this time.
0 commit comments