diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-16 11:00:39 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-04-16 13:08:46 +0200 |
| commit | b59bf686c1e10bb8068d89e43779d7777f553c48 (patch) | |
| tree | e0a706db59e74f5c6bf456a00ec374c1afed6164 /xtask/src/main.rs | |
| parent | 404867cdf92990cb0aba415dfbee97c7fef78b60 (diff) | |
Redo command building so that we don't repeat as much, and to
make it easier to add new ones
Diffstat (limited to 'xtask/src/main.rs')
| -rw-r--r-- | xtask/src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 0043474..2f35079 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -356,9 +356,7 @@ fn command_parser( | CargoCommand::Doc { .. } | CargoCommand::Test { .. } | CargoCommand::Book { .. } - | CargoCommand::ExampleSize { .. } - | CargoCommand::BuildInDir { .. } - | CargoCommand::CheckInDir { .. } => { + | CargoCommand::ExampleSize { .. } => { let cargo_result = run_command(command, output_mode)?; Ok(cargo_result) } |
