diff options
author | 2023-04-16 11:05:41 +0200 | |
---|---|---|
committer | 2023-04-16 13:08:46 +0200 | |
commit | c6b43800d2a368d7948639899b8dca50cc97712f (patch) | |
tree | d03a11c3ee462bc5bf5922af8edd4468d465c3cc /xtask/src/main.rs | |
parent | 66a3d02b4585a76615d750c33a37edd5e8fd30e6 (diff) | |
download | rtic-c6b43800d2a368d7948639899b8dca50cc97712f.tar.gz rtic-c6b43800d2a368d7948639899b8dca50cc97712f.tar.zst rtic-c6b43800d2a368d7948639899b8dca50cc97712f.zip |
Move all run-related stuff into `run`
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r-- | xtask/src/main.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 09bf8c72..1712d712 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1,11 +1,10 @@ mod argument_parsing; mod build; -mod xtasks; mod cargo_command; +mod run; use argument_parsing::{ExtraArguments, Globals}; use clap::Parser; -use cargo_command::OutputMode; use core::fmt; use diffy::{create_patch, PatchFormatter}; use std::{ @@ -23,8 +22,8 @@ use log::{error, info, log_enabled, trace, Level}; use crate::{ argument_parsing::{Backends, BuildOrCheck, Cli, Commands}, build::init_build_dir, - xtasks::*, - cargo_command::{handle_results, run_command, run_successful, CargoCommand}, + cargo_command::CargoCommand, + run::*, }; #[derive(Debug, Clone, Copy)] |