We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a2e56 commit e489ba9Copy full SHA for e489ba9
Formula/d/dish.rb
@@ -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
18
+end
0 commit comments