mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
just: genereate man pages and shell completions dynamically
These assets are no longer present in the repository
(cherry picked from commit 669bc72949
)
This commit is contained in:
parent
76cb04bd70
commit
4e0f7076f1
@ -56,6 +56,14 @@ rustPlatform.buildRustPackage rec {
|
||||
postBuild = ''
|
||||
cargo run --package generate-book
|
||||
|
||||
mkdir -p completions man
|
||||
|
||||
cargo run -- --man > man/just.1
|
||||
|
||||
for shell in bash fish zsh; do
|
||||
cargo run -- --completions $shell > completions/just.$shell
|
||||
done
|
||||
|
||||
# No linkcheck in sandbox
|
||||
echo 'optional = true' >> book/en/book.toml
|
||||
mdbook build book/en
|
||||
|
Loading…
Reference in New Issue
Block a user