-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ready for some initial feedback * soliciting feedback here * switch to `colorchoice-clap` crate for color handling it still breaks tests, i think it's an issue with how we handle the `check-release` subcommand * store stdout and stderr in config * add some tests Squashed commit of the following: commit 59a3a7f Author: m <[email protected]> Date: Fri Apr 12 15:15:42 2024 -0700 add some simple tests commit 03b2494 Author: m <[email protected]> Date: Fri Apr 12 14:16:55 2024 -0700 current work * fix clippy * (re-)add ColorChoice::global & CARGO_TERM_COLOR - document that `ColorChoice::write_global` must be called before `GlobalConfig::new` or `set_std{err,out}` - add tests for `GlobalConfig` - add parsing for `CARGO_TERM_COLOR` env var in binary part of crate * Apply suggestions from code review Co-authored-by: Predrag Gruevski <[email protected]> * make `configure_color` more clear * clarify rustdoc child process color setting * handle env vars with flags we had to make our own colorchoice clap handler because the mixin doesn't work with Option<_> * make `Check::check_release` take &mut GlobalConfig * respect our color preference in `rustdoc` * minor: save config.stderr() when we use it a lot this also cleans up lines that get unnecessarily changed in the diff --------- Co-authored-by: Predrag Gruevski <[email protected]>
- Loading branch information
1 parent
0bfda4f
commit aa44576
Showing
8 changed files
with
451 additions
and
272 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.