From: William Hubbs Date: Fri, 3 Apr 2020 15:25:50 +0000 (-0500) Subject: app-misc/go-jira: add comments about generating completion scripts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b26988f18888fec99330ae4465c725843b322e29;p=gentoo.git app-misc/go-jira: add comments about generating completion scripts Signed-off-by: William Hubbs --- diff --git a/app-misc/go-jira/go-jira-1.0.23.ebuild b/app-misc/go-jira/go-jira-1.0.23.ebuild index c04fe2181ebc..5ef88f785e21 100644 --- a/app-misc/go-jira/go-jira-1.0.23.ebuild +++ b/app-misc/go-jira/go-jira-1.0.23.ebuild @@ -3,6 +3,7 @@ EAPI=7 +# bash-completion-r1 can be added once we can generate completion scripts inherit go-module DESCRIPTION="A simple JIRA commandline client in Go" @@ -114,9 +115,16 @@ S="${WORKDIR}/jira-${PV}" src_compile() { go build -o jira cmd/jira/main.go || die + # these cause failures. +# ./jira --completion-script-bash > jira.bash || die +# ./jira --completion-script-zsh > jira.zsh || die } src_install() { dobin jira dodoc {CHANGELOG,README}.md + # This can be uncommented once we can generate completion scripts +# newbashcomp jira.bash jira +# insinto /usr/share/zsh/site-functions +# newins jira.zsh _jira }