Skip to content

Commit

Permalink
Merge pull request #265 from Tantalor93/manpages
Browse files Browse the repository at this point in the history
simplify manpages
  • Loading branch information
Tantalor93 committed May 23, 2024
2 parents b058f43 + 718aff3 commit 87681c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ brews:
bin.install "dnspyre"
bash_completion.install "completions/dnspyre.bash" => "_dnspyre"
zsh_completion.install "completions/dnspyre.zsh" => "_dnspyre"
man1.install Dir["manpages/*.1"]
man1.install "manpages/dnspyre.1.gz"
dockers:
- use: docker
id: dnspyre
Expand Down
5 changes: 2 additions & 3 deletions scripts/manpages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
set -e
rm -rf manpages
mkdir manpages
for sh in bash zsh; do
go run main.go --help-man >"manpages/dnspyre.1"
done
go run main.go --help-man >"manpages/dnspyre.1"
gzip --best "manpages/dnspyre.1"

0 comments on commit 87681c5

Please sign in to comment.