未验证 提交 2413e17e 编写于 作者: JenkinsInChina's avatar JenkinsInChina 提交者: GitHub

Add man page in homebrew (#391)

* Add man page in homebrew

* Fix the path of jcli
上级 3b07e63b
......@@ -75,6 +75,10 @@ brews:
output = Utils.popen_read("#{bin}/jcli completion --type zsh")
(zsh_completion/"_jcli").write output
(Pathname.pwd/"man").mkpath
system "#{bin}/jcli", "doc", "--doc-type", "ManPage", "man"
man1.install Dir["man/*.1"]
prefix.install_metafiles
nfpms:
- file_name_template: "{{ .Binary }}-{{.Os}}-{{.Arch}}"
......@@ -97,4 +101,4 @@ nfpms:
windows: windows
#signs:
# - artifacts: checksum
# cmd: gpg2
\ No newline at end of file
# cmd: gpg2
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册