aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
diff options
context:
space:
mode:
authorGravatar datdenkikniet <jcdra1@gmail.com> 2023-04-16 11:02:49 +0200
committerGravatar datdenkikniet <jcdra1@gmail.com> 2023-04-16 13:08:46 +0200
commit66a3d02b4585a76615d750c33a37edd5e8fd30e6 (patch)
tree075ebf35fc307e0e938673bae47974847a78e2fb /xtask/src/main.rs
parentb59bf686c1e10bb8068d89e43779d7777f553c48 (diff)
downloadrtic-66a3d02b4585a76615d750c33a37edd5e8fd30e6.tar.gz
rtic-66a3d02b4585a76615d750c33a37edd5e8fd30e6.tar.zst
rtic-66a3d02b4585a76615d750c33a37edd5e8fd30e6.zip
Rename cargo_commands -> run
Rename command -> cargo_command
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r--xtask/src/main.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 2f350795..09bf8c72 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -1,11 +1,11 @@
mod argument_parsing;
mod build;
-mod cargo_commands;
-mod command;
+mod xtasks;
+mod cargo_command;
use argument_parsing::{ExtraArguments, Globals};
use clap::Parser;
-use command::OutputMode;
+use cargo_command::OutputMode;
use core::fmt;
use diffy::{create_patch, PatchFormatter};
use std::{
@@ -23,8 +23,8 @@ use log::{error, info, log_enabled, trace, Level};
use crate::{
argument_parsing::{Backends, BuildOrCheck, Cli, Commands},
build::init_build_dir,
- cargo_commands::*,
- command::{handle_results, run_command, run_successful, CargoCommand},
+ xtasks::*,
+ cargo_command::{handle_results, run_command, run_successful, CargoCommand},
};
#[derive(Debug, Clone, Copy)]