xtask
August 3, 2026 ยท View on GitHub
Root AGENTS.md | Release packaging automation for cargo-binstall extra-files layout.
Role
Generates release archives with man pages and shell completions in the directory
layout that cargo-binstall auto-detects.
Commands
cargo xtask package-release --target <triple> --version <ver> --binary <path>
Rules
- Runs on the host (not cross-compiled) -- only generates text files and copies binaries.
- Archive layout:
vtcode-{target}-v{version}/withman/,completions/. - The archive stage allowlist is intentional: package only
vtcode,man/, andcompletions/; project instruction files never ship. - Uses
vtcode_core::Cli::command()for man page and completion generation.