mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-build/just-1.28.0: fixups
Add GH code review fixups from antecrescent.
56a211875e
Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
@@ -208,23 +208,22 @@ src_install() {
|
||||
|
||||
cargo_src_install
|
||||
|
||||
mkdir -p man
|
||||
./target/release/just --man > man/just.1
|
||||
./target/release/just --completions $shell > completions/just.$shell
|
||||
mkdir -p man || die
|
||||
./target/$(usex debug debug release)/just --man > man/just.1
|
||||
|
||||
doman man/*
|
||||
|
||||
einstalldocs
|
||||
|
||||
# bash-completion
|
||||
./target/release/just --completions bash > completions/just.bash
|
||||
./target/$(usex debug debug release)/just --completions bash > completions/just.bash
|
||||
newbashcomp "completions/${PN}.bash" "${PN}"
|
||||
|
||||
# zsh-completion
|
||||
./target/release/just --completions zsh > completions/just.zsh
|
||||
./target/$(usex debug debug release)/just --completions zsh > completions/just.zsh
|
||||
newzshcomp "completions/${PN}.zsh" "_${PN}"
|
||||
|
||||
# fish-completion
|
||||
./target/release/just --completions fish > completions/just.fish
|
||||
./target/$(usex debug debug release)/just --completions fish > completions/just.fish
|
||||
dofishcomp "completions/${PN}.fish"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user