From 325c0adf69517b5ecc90d42405c8d772e091e9ac Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 6 May 2021 14:17:38 +0200 Subject: [PATCH] Remove --quiet flags They were useful on builds.sr.ht but for local running of CI commands it's nice to have some progress indication. --- .cargo/config | 2 +- xtask/src/ci.rs | 23 +++++++++-------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.cargo/config b/.cargo/config index 331d3b33..75e2c8f9 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,7 +1,7 @@ [alias] xtask = "run --package xtask --" ruma-clippy = """\ - clippy --workspace --all-targets --all-features --quiet -- \ + clippy --workspace --all-targets --all-features -- \ -W rust_2018_idioms \ -W semicolon_in_expressions_from_macros \ -W unused_import_braces \ diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 378fbefe..c7abebf6 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -39,19 +39,17 @@ impl CiTask { fn build_msrv(&self) -> xshell::Result<()> { let _p = pushd("crates/ruma")?; - cmd!("rustup run {MSRV} cargo build --features full --quiet").run() + cmd!("rustup run {MSRV} cargo build --features full").run() } fn build_stable(&self) -> xshell::Result<()> { vec![ - cmd!("rustup run stable cargo test --workspace --quiet").run(), - cmd!("rustup run stable cargo test -p ruma-identifiers --no-default-features --quiet") - .run(), - cmd!("rustup run stable cargo test -p ruma-identifiers --all-features --quiet").run(), - cmd!("rustup run stable cargo test -p ruma-client-api --all-features --quiet").run(), - cmd!("rustup run stable cargo check -p ruma-client --no-default-features --quiet") - .run(), - cmd!("rustup run stable cargo check -p ruma-client --all-features --quiet").run(), + cmd!("rustup run stable cargo test --workspace").run(), + cmd!("rustup run stable cargo test -p ruma-identifiers --no-default-features").run(), + cmd!("rustup run stable cargo test -p ruma-identifiers --all-features").run(), + cmd!("rustup run stable cargo test -p ruma-client-api --all-features").run(), + cmd!("rustup run stable cargo check -p ruma-client --no-default-features").run(), + cmd!("rustup run stable cargo check -p ruma-client --all-features").run(), ] .into_iter() .collect() @@ -61,11 +59,8 @@ impl CiTask { vec![ cmd!("rustup run nightly cargo fmt -- --check").run(), cmd!("rustup run nightly cargo ruma-clippy -D warnings").run(), - cmd!( - "rustup run nightly cargo clippy -p ruma-client - --all-targets --quiet -- -D warnings" - ) - .run(), + cmd!("rustup run nightly cargo clippy -p ruma-client --all-targets -- -D warnings") + .run(), ] .into_iter() .collect()