You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-11-27 00:21:07 +02:00
In addition to simplifying building locally (no need to set an environment variable), this makes it possible to use the `cargo xtask build` command in the CI and specify any output location, rather than relying on the build.sh script. --------- Co-authored-by: Eric Githinji <egithinji@google.com>
xtask
The purpose of the xtask binary is to enable cross platform task automation
within the project (somewhat similar to how npm run is used in Node.js
projects to run scripts). Please see
cargo xtask for more information.
To add support for a new task, add a new arm to the match in the
execute_task function, and add a new handler function that contains the logic.