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 4CD841582ED for ; Fri, 7 Jun 2024 23:49:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0DC22BC017; Fri, 7 Jun 2024 23:49:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8A3182BC017 for ; Fri, 7 Jun 2024 23:49:00 +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 CA126342FA0 for ; Fri, 7 Jun 2024 23:48:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57C1C1C89 for ; Fri, 7 Jun 2024 23:48:56 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1717803878.56a211875e7decddc116b10194464fb62ad8c4e8.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 56a211875e7decddc116b10194464fb62ad8c4e8 X-VCS-Branch: master Date: Fri, 7 Jun 2024 23:48:56 +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: 68265aef-6f4a-4629-bf8a-bb4bff31b04c X-Archives-Hash: b8407d7d0987d7a1b67ea692cfa36f9d commit: 56a211875e7decddc116b10194464fb62ad8c4e8 Author: Joe Kappus wt gd> AuthorDate: Fri Jun 7 23:43:06 2024 +0000 Commit: Julien Roy jroy 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 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" }