Skip to content

Commit 7d8e102

Browse files
authored
Merge pull request Homebrew#225365 from Homebrew/tldx
tldx 1.0.0 (new formula)
2 parents 6f52ea8 + 41cabf5 commit 7d8e102

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Formula/t/tldx.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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

0 commit comments

Comments
 (0)