From 058613e9d45dbf7bebca73fe678245632b2847fa Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 24 Jan 2026 03:15:16 +0800 Subject: Add --quiet flag to cargo run in deployment scripts --- dev_deploy.ps1 | 2 +- dev_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev_deploy.ps1 b/dev_deploy.ps1 index abfac0e..2eb4fa5 100644 --- a/dev_deploy.ps1 +++ b/dev_deploy.ps1 @@ -21,7 +21,7 @@ if ($LASTEXITCODE -ne 0) { } else { # Build succeeded # Export - if (cargo run --manifest-path tools/build_helper/Cargo.toml --bin exporter debug) { + if (cargo run --manifest-path tools/build_helper/Cargo.toml --quiet --bin exporter debug) { Copy-Item -Path templates\compile_info.rs.template -Destination src\data\compile_info.rs -Force } } diff --git a/dev_deploy.sh b/dev_deploy.sh index 2e295de..1ae9ebf 100644 --- a/dev_deploy.sh +++ b/dev_deploy.sh @@ -8,7 +8,7 @@ cd "$(dirname "$0")" || exit 1 # Build if FORCE_BUILD=$(date +%M) cargo build --workspace; then # Export - if cargo run --manifest-path tools/build_helper/Cargo.toml --bin exporter debug; then + if cargo run --manifest-path tools/build_helper/Cargo.toml --quiet --bin exporter debug; then # Copy compile_info.rs.template to compile_info.rs after successful export cp -f templates/compile_info.rs src/data/compile_info.rs fi -- cgit