Skip to content

Commit a6311fb

Browse files
authored
Merge pull request #217250 from Homebrew/dish
dish 1.9.2 (new formula)
2 parents 837654f + 7223bed commit a6311fb

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Formula/d/dish.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
class Dish < Formula
2+
desc "Lightweight monitoring service that efficiently checks socket connections"
3+
homepage "https://github.com/thevxn/dish"
4+
url "https://github.com/thevxn/dish/archive/refs/tags/v1.9.2.tar.gz"
5+
sha256 "0238614dee2dcc70fb5d1d6a4bab2eb766335474b0835b7fbaa540d8c73a4750"
6+
license "MIT"
7+
8+
bottle do
9+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "8090b66b20f175d132edfefa27c52f65a7b4a56f47e294d25f9cf65d0a5cce3c"
10+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8090b66b20f175d132edfefa27c52f65a7b4a56f47e294d25f9cf65d0a5cce3c"
11+
sha256 cellar: :any_skip_relocation, arm64_ventura: "8090b66b20f175d132edfefa27c52f65a7b4a56f47e294d25f9cf65d0a5cce3c"
12+
sha256 cellar: :any_skip_relocation, sonoma: "9ece7754be7c6554405fa18bc6ebeaa048387ddd66534868c233e165821ca2a5"
13+
sha256 cellar: :any_skip_relocation, ventura: "9ece7754be7c6554405fa18bc6ebeaa048387ddd66534868c233e165821ca2a5"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "715ce7c2a122672f8cd05e9d09297ab2a5eeaf02ef21a1bb5eea93ad405672ea"
15+
end
16+
17+
depends_on "go" => :build
18+
19+
def install
20+
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/dish"
21+
end
22+
23+
test do
24+
ouput = shell_output("#{bin}/dish https://example.com/:instance 2>&1", 1)
25+
assert_match "error fetching sockets from remote source --- got 404 (404 Not Found)", ouput
26+
end
27+
end

0 commit comments

Comments
 (0)