mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
Rename cargo_commands -> run
Rename command -> cargo_command
This commit is contained in:
parent
b59bf686c1
commit
66a3d02b45
4 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
use crate::{command::CargoCommand, Target, ARMV6M, ARMV7M, ARMV8MBASE, ARMV8MMAIN};
|
use crate::{cargo_command::CargoCommand, Target, ARMV6M, ARMV7M, ARMV8MBASE, ARMV8MMAIN};
|
||||||
use clap::{Args, Parser, Subcommand};
|
use clap::{Args, Parser, Subcommand};
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use log::{error, info, Level};
|
use log::{error, info, Level};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
argument_parsing::Globals, cargo_commands::FinalRunResult, ExtraArguments, RunResult, Target,
|
argument_parsing::Globals, xtasks::FinalRunResult, ExtraArguments, RunResult, Target,
|
||||||
TestRunError,
|
TestRunError,
|
||||||
};
|
};
|
||||||
use core::fmt;
|
use core::fmt;
|
|
@ -1,11 +1,11 @@
|
||||||
mod argument_parsing;
|
mod argument_parsing;
|
||||||
mod build;
|
mod build;
|
||||||
mod cargo_commands;
|
mod xtasks;
|
||||||
mod command;
|
mod cargo_command;
|
||||||
|
|
||||||
use argument_parsing::{ExtraArguments, Globals};
|
use argument_parsing::{ExtraArguments, Globals};
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use command::OutputMode;
|
use cargo_command::OutputMode;
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
use diffy::{create_patch, PatchFormatter};
|
use diffy::{create_patch, PatchFormatter};
|
||||||
use std::{
|
use std::{
|
||||||
|
@ -23,8 +23,8 @@ use log::{error, info, log_enabled, trace, Level};
|
||||||
use crate::{
|
use crate::{
|
||||||
argument_parsing::{Backends, BuildOrCheck, Cli, Commands},
|
argument_parsing::{Backends, BuildOrCheck, Cli, Commands},
|
||||||
build::init_build_dir,
|
build::init_build_dir,
|
||||||
cargo_commands::*,
|
xtasks::*,
|
||||||
command::{handle_results, run_command, run_successful, CargoCommand},
|
cargo_command::{handle_results, run_command, run_successful, CargoCommand},
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
|
|
|
@ -2,7 +2,7 @@ use std::path::PathBuf;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
argument_parsing::{Backends, BuildOrCheck, ExtraArguments, Globals, PackageOpt, TestMetadata},
|
argument_parsing::{Backends, BuildOrCheck, ExtraArguments, Globals, PackageOpt, TestMetadata},
|
||||||
command::{BuildMode, CargoCommand},
|
cargo_command::{BuildMode, CargoCommand},
|
||||||
command_parser, RunResult,
|
command_parser, RunResult,
|
||||||
};
|
};
|
||||||
use log::error;
|
use log::error;
|
Loading…
Reference in a new issue