File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -2807,6 +2807,7 @@ pdftk-java
28072807pdm
28082808pdns
28092809pdnsrec
2810+ pdtm
28102811pedump
28112812pegtl
28122813percona-toolkit
Original file line number Diff line number Diff line change 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+ bottle do
10+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "c9ef2bbd6f036e5c3ce6629905c5c02908ca51440cad3319094771c32077962f"
11+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "96751029319e738c50fa86960e7764d68def5c5b0a08b86d4bb7aa1aafabb1ce"
12+ sha256 cellar : :any_skip_relocation , arm64_ventura : "1f8cff333aeb9050e11e8e346b54855c55a2690b697ae033db3b41a239310df1"
13+ sha256 cellar : :any_skip_relocation , sonoma : "c0f4d7527f5baa186c8cfad4d0d956b7494af38818efeee4adbc09f908b7e0cd"
14+ sha256 cellar : :any_skip_relocation , ventura : "1783d258be29384be1a3db469de6e1cd8bdfc9d077f0c6bd4bfe8861fc00f1fa"
15+ sha256 cellar : :any_skip_relocation , x86_64_linux : "6dfea4fd9e25c41239d8126f941591db53887aa456d43396bfbad42fe29b19bd"
16+ end
17+
18+ depends_on "go" => :build
19+
20+ def install
21+ system "go" , "build" , *std_go_args ( ldflags : "-s -w" ) , "./cmd/pdtm"
22+ end
23+
24+ test do
25+ assert_match version . to_s , shell_output ( "#{ bin } /pdtm -version 2>&1" )
26+ assert_match "#{ testpath } /.pdtm/go/bin" , shell_output ( "#{ bin } /pdtm -show-path" )
27+ end
28+ end
You can’t perform that action at this time.
0 commit comments