mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
just: genereate man pages and shell completions dynamically
These assets are no longer present in the repository
This commit is contained in:
parent
8d548d61ec
commit
669bc72949
@ -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