From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CDA4615817D for ; Fri, 7 Jun 2024 23:44:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13619E29EB; Fri, 7 Jun 2024 23:44:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E29F7E29EB for ; Fri, 7 Jun 2024 23:44:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E04DE340C53 for ; Fri, 7 Jun 2024 23:44:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 536A3126B for ; Fri, 7 Jun 2024 23:44:48 +0000 (UTC) From: "Joe Kappus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joe Kappus" Message-ID: <1717803878.56a211875e7decddc116b10194464fb62ad8c4e8.joe@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-build/just/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-build/just/just-1.28.0.ebuild X-VCS-Directories: dev-build/just/ X-VCS-Committer: joe X-VCS-Committer-Name: Joe Kappus X-VCS-Revision: 56a211875e7decddc116b10194464fb62ad8c4e8 X-VCS-Branch: dev Date: Fri, 7 Jun 2024 23:44:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60b540d1-751a-41b5-adb7-dc050f960ff4 X-Archives-Hash: 82a14359fdf2a5e88431cdc0b6dafb9b commit: 56a211875e7decddc116b10194464fb62ad8c4e8 Author: Joe Kappus wt gd> AuthorDate: Fri Jun 7 23:43:06 2024 +0000 Commit: Joe Kappus wt gd> 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 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" }