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 TctlAT1125 < Formula
2+ desc "Tetrate Service Bridge Command Line Interface 1.12.5"
3+ homepage "https://docs.tetrate.io/service-bridge/reference/cli/guide/"
4+ version "1.12.5"
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.5/tctl"
10+ sha256 "2450e047eeadfa4c84d3ef65be7844f1b8e6e1b529a3d3d59b461196149ddfc8" # Intel
11+ else
12+ url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-1.12.5/tctl"
13+ sha256 "eb617d8f264572e6bb111b88cb22434ef62eabd4c07d09acfa98394999d36624" # ARM
14+ end
15+
16+ def install
17+ bin . install "tctl" => "tctl-1.12.5"
18+ bin . install_symlink "tctl-1.12.5" => "tctl@1.12.5"
19+ end
20+
21+ test do
22+ assert_match version . to_s , shell_output ( "\# {bin}/tctl@1.12.5 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 "80c87fe324998d771bf1a17f4913e8cd16c4a0017d6475c3fb3d87d97c45db5a " # Intel
12+ sha256 "2450e047eeadfa4c84d3ef65be7844f1b8e6e1b529a3d3d59b461196149ddfc8 " # Intel
1313 else
1414 url "https://binaries.dl.tetrate.io/public/raw/versions/darwin-arm64-#{ version } /tctl"
15- sha256 "13c79cba47ef09ba3fd2c0b5ff474d9d3673651eba64f866fa1a0fb6ff91cffb " # ARM
15+ sha256 "eb617d8f264572e6bb111b88cb22434ef62eabd4c07d09acfa98394999d36624 " # ARM
1616 end
1717
1818 def install
You can’t perform that action at this time.
0 commit comments