tisonkun opened a new pull request, #383:
URL: https://github.com/apache/datasketches-rust/pull/383
## Summary
Following the extraction of `xtask/src/prepare_testdata.rs` in #382,
`xtask/src/main.rs` still mixed CLI dispatch and shared process helpers with
the remaining five subcommands (`bench`, `check`, `docs`, `lint`, and `test`).
This pull request extracts each remaining subcommand into its own module
alongside `prepare_testdata.rs` without changing any CLI flags or command
behavior:
* Move `CommandBench`, `CommandCheck`, `CommandDocs`, `CommandLint`, and
`CommandTest` into `xtask/src/{bench,check,docs,lint,test}.rs`, sharing
`docs::make_docs_cmd` with `lint`.
* Retain subcommand dispatch (`Command`, `SubCommand`) and shared workspace
helpers (`datasketches_features`, `find_command`, `run_command`) in
`xtask/src/main.rs`.
## Validation
* `cargo update -w --locked --verbose`
* `cargo x --help`
* `cargo x lint`
* `cargo x check`
* `cargo x bench --no-run`
* `cargo test -p tests-integration --test serde_tests`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]