summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-24 03:15:16 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-24 03:15:16 +0800
commit058613e9d45dbf7bebca73fe678245632b2847fa (patch)
treea4557bd7e48f75f5743df2e0913e1c90ed97e22a
parent8f2cc75641f7c8c30e283f4896b0ec9f10df02fe (diff)
Add --quiet flag to cargo run in deployment scripts
-rw-r--r--dev_deploy.ps12
-rw-r--r--dev_deploy.sh2
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