Skip to content

Commit e489ba9

Browse files
committed
dish 1.9.2 (new formula)
1 parent 30a2e56 commit e489ba9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Formula/d/dish.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
depends_on "go" => :build
9+
10+
def install
11+
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/dish"
12+
end
13+
14+
test do
15+
ouput = shell_output("#{bin}/dish https://example.com/:instance 2>&1", 1)
16+
assert_match "error fetching sockets from remote source --- got 404 (404 Not Found)", ouput
17+
end
18+
end

0 commit comments

Comments
 (0)