Move all run-related stuff into run

This commit is contained in:
datdenkikniet 2023-04-16 11:05:41 +02:00
parent 66a3d02b45
commit c6b43800d2
3 changed files with 160 additions and 166 deletions

View file

@ -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)]