just: genereate man pages and shell completions dynamically

These assets are no longer present in the repository
This commit is contained in:
László Vaskó 2024-06-06 15:40:46 +02:00
parent 8d548d61ec
commit 669bc72949

View File

@ -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