1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-29 08:57:20 +02:00
Files
comprehensive-rust/xtask
michael-kerscher d1899de233 tests: Migrate create_slide.list.sh into cargo xtask function. (#2957)
The new xtask function makes the helper code
- more readable
- more reliable due to better error checking
- be in the same place as other helper functions
- and more aligned to the skillset relevant for contributing in this
repository.

The shell script grew and was not readable for everyone anymore without
deeper knowledge.

mitigates #2941 in a more reliable way but does still not fully fix the
root cause
2025-10-29 18:15:21 +01: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.