1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-27 00:21:07 +02:00
Files
comprehensive-rust/xtask
Eric Githinji 5fc5893fbf Support setting language and output directory in cargo xtask (#2776)
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>
2025-07-31 12:54:26 +03:00
..
2025-04-07 12:18:49 +02:00

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.