8000 pdtm 0.1.3 (new formula) · Homebrew/homebrew-core@e4dcd3e · GitHub
[go: up one dir, main page]

Skip to content

Commit e4dcd3e

Browse files
committed
pdtm 0.1.3 (new formula)
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 58bfdbc commit e4dcd3e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,6 +2807,7 @@ pdftk-java
28072807
pdm
28082808
pdns
28092809
pdnsrec
2810+
pdtm
28102811
pedump
28112812
pegtl
28122813
percona-toolkit

Formula/p/pdtm.rb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
class Pdtm < Formula
2+
desc "ProjectDiscovery's Open Source Tool Manager"
3+
homepage "https://github.com/projectdiscovery/pdtm"
4+
url "https://github.com/projectdiscovery/pdtm/archive/refs/tags/v0.1.3.tar.gz"
5+
sha256 "5aa5611e3a61df37a2e4030fd8742d4a1278840fe91c1e1fde129aab81f4fe45"
6+
license "MIT"
7+
head "https://github.com/projectdiscovery/pdtm.git", branch: "main"
8+
9+
depends_on "go" => :build
10+
11+
def install
12+
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/pdtm"
13+
end
14+
15+
test do
16+
assert_match version.to_s, shell_output("#{bin}/pdtm -version 2>&1")
17+
assert_match "#{testpath}/.pdtm/go/bin", shell_output("#{bin}/pdtm -show-path")
18+
end
19+
end

0 commit comments

Comments
 (0)
0