summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-04-03 10:25:50 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-04-03 10:26:15 -0500
commitb26988f18888fec99330ae4465c725843b322e29 (patch)
tree5aef9b784252f8e3cb61a73785e4d27e1b4782e4
parentdev-lang/go: ppc64 stable wrt bug #715770 (diff)
downloadgentoo-b26988f18888fec99330ae4465c725843b322e29.tar.gz
gentoo-b26988f18888fec99330ae4465c725843b322e29.tar.bz2
gentoo-b26988f18888fec99330ae4465c725843b322e29.zip
app-misc/go-jira: add comments about generating completion scripts
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--app-misc/go-jira/go-jira-1.0.23.ebuild8
1 files changed, 8 insertions, 0 deletions
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
}