public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-build/just/
Date: Fri,  7 Jun 2024 23:48:56 +0000 (UTC)	[thread overview]
Message-ID: <1717803878.56a211875e7decddc116b10194464fb62ad8c4e8.julien@gentoo> (raw)

commit:     56a211875e7decddc116b10194464fb62ad8c4e8
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Fri Jun  7 23:43:06 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jun  7 23:44:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56a21187

dev-build/just: add manpage/completion generation

Sorry took awhile to figure this out, the one time
I didn't test before pushing.

Closes: https://bugs.gentoo.org/933682
Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 dev-build/just/just-1.28.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-build/just/just-1.28.0.ebuild b/dev-build/just/just-1.28.0.ebuild
index d52b03f4a..104387bb4 100644
--- a/dev-build/just/just-1.28.0.ebuild
+++ b/dev-build/just/just-1.28.0.ebuild
@@ -208,16 +208,23 @@ src_install() {
 
 	cargo_src_install
 
+	mkdir -p man
+	./target/release/just --man > man/just.1
+	./target/release/just --completions $shell > completions/just.$shell
+
 	doman man/*
 
 	einstalldocs
 
 	# bash-completion
+	./target/release/just --completions bash > completions/just.bash
 	newbashcomp "completions/${PN}.bash" "${PN}"
 
 	# zsh-completion
+	./target/release/just --completions zsh > completions/just.zsh
 	newzshcomp "completions/${PN}.zsh" "_${PN}"
 
 	# fish-completion
+	./target/release/just --completions fish > completions/just.fish
 	dofishcomp "completions/${PN}.fish"
 }


             reply	other threads:[~2024-06-07 23:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 23:48 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-20 15:00 [gentoo-commits] repo/proj/guru:master commit in: dev-build/just/ Julien Roy
2024-12-12 13:06 David Roman
2024-12-12 13:06 David Roman
2024-11-22 18:32 Julien Roy
2024-11-22  8:49 Lucio Sauer
2024-11-22  8:49 Lucio Sauer
2024-11-21 10:47 David Roman
2024-11-21 10:47 David Roman
2024-10-08 10:23 David Roman
2024-10-08 10:23 David Roman
2024-08-30 13:16 David Roman
2024-08-30 13:16 David Roman
2024-07-17  8:40 David Roman
2024-07-17  8:40 David Roman
2024-07-15 19:27 Andrew Ammerlaan
2024-06-14 23:09 Julien Roy
2024-06-14 23:09 Julien Roy
2024-06-14 23:09 Julien Roy
2024-06-09 18:28 Julien Roy
2024-06-09 18:28 Julien Roy
2024-06-06 10:27 David Roman
2024-06-06 10:27 David Roman
2024-05-25 13:01 Julien Roy
2024-05-14 15:51 Julien Roy
2024-05-14 15:37 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-14 15:51 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-22 20:52 David Roman
2024-03-12  0:18 Julien Roy
2024-03-12  0:18 Julien Roy
2024-03-08 19:45 David Roman
2024-02-13 16:32 David Roman
2024-02-13 16:32 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717803878.56a211875e7decddc116b10194464fb62ad8c4e8.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox