diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-04 17:17:03 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-04 17:17:03 +0800 |
| commit | 996544cd604f435464a04694f844bc2c4b6fb219 (patch) | |
| tree | 095e12bc402abf61269c03f3da39517fa481be77 /deploy.sh | |
| parent | e063e37fcd6fc5f8d30c532bc3c51b2917c6c44d (diff) | |
Replace compile_info.rs deletion with template copy in deploy scripts
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ if FORCE_BUILD=$(date +%s) cargo build --workspace --release; then # Export if cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter; then - # Delete compile_info.rs after successful export - rm -f src/data/compile_info.rs + # Copy compile_info.rs.template to compile_info.rs after successful export + cp -f src/data/compile_info.rs.template src/data/compile_info.rs fi fi |
