File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed
Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1616.DS_Store
1717
1818vendor /
19+
20+ manpage
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ archives:
3535 replacements :
3636 darwin : macOS
3737 format : tar.gz
38+ files :
39+ - manpage/gh*.1
3840 - id : windows
3941 builds : [windows]
4042 << : *archive_defaults
7678 formats :
7779 - deb
7880 - rpm
81+ files :
82+ " ./manpage/gh*.1 " : " /usr/share/man/man1"
7983
8084scoop :
8185 bucket :
Original file line number Diff line number Diff line change 4444 git -C site commit -m '$(GITHUB_REF:refs/tags/v%=%)' index.html
4545 git -C site push
4646.PHONY : site-publish
47+
48+
49+ manpage :
50+ mkdir -p $@
51+
52+ .PHONY : manpages
53+ manpages : manpage
54+ go run ./cmd/gen-docs ./manpage
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ func main() {
2424 if err != nil {
2525 fatal (err )
2626 }
27+
28+ err = doc .GenManTree (command .RootCmd , nil , dir )
29+ if err != nil {
30+ fatal (err )
31+ }
2732}
2833
2934func filePrepender (filename string ) string {
You can’t perform that action at this time.
0 commit comments