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:
László Vaskó 2024-06-06 15:40:46 +02:00 committed by github-actions[bot]
parent 76cb04bd70
commit 4e0f7076f1

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