Skip to content

Commit fc2b701

Browse files
committed
tldx 1.0.0 (new formula)
1 parent 519d0f3 commit fc2b701

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Formula/t/tldx.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
depends_on "go" => :build
9+
10+
def install
11+
system "go", "build", *std_go_args(ldflags: "-s -w")
12+
end
13+
14+
test do
15+
assert_match "brew.sh is not available", shell_output("#{bin}/tldx brew --tlds sh")
16+
end
17+
end

0 commit comments

Comments
 (0)