File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ class Tldx < Formula
2+ desc "Domain Availability Research Tool"
3+ homepage "https://brandonyoung.dev/blog/introducing-tldx/"
4+ url "https://github.com/brandonyoungdev/tldx/archive/refs/tags/v1.0.0.tar.gz"
5+ sha256 "4386238735382f341ddafb96b9d92a65324e51b47c2d3bc3d693de86b602cf84"
6+ license "Apache-2.0"
7+
8+ bottle do
9+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "51920c6c406e89674136426531052952ba145be18e0539281a4e5d79125d0ead"
10+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "51920c6c406e89674136426531052952ba145be18e0539281a4e5d79125d0ead"
11+ sha256 cellar : :any_skip_relocation , arm64_ventura : "51920c6c406e89674136426531052952ba145be18e0539281a4e5d79125d0ead"
12+ sha256 cellar : :any_skip_relocation , sonoma : "ecbfa8423160f894b974d8007fdd751a02750a80cbd584cbfa4691d867e82e84"
13+ sha256 cellar : :any_skip_relocation , ventura : "ecbfa8423160f894b974d8007fdd751a02750a80cbd584cbfa4691d867e82e84"
14+ sha256 cellar : :any_skip_relocation , x86_64_linux : "3c9c922c139bef387eb1e742384a8a442c52c4fac63bb34763f44d0782fe7245"
15+ end
16+
17+ depends_on "go" => :build
18+
19+ def install
20+ system "go" , "build" , *std_go_args ( ldflags : "-s -w" )
21+ end
22+
23+ test do
24+ assert_match "brew.sh is not available" , shell_output ( "#{ bin } /tldx brew --tlds sh" )
25+ end
26+ end
You can’t perform that action at this time.
0 commit comments