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" }