diff options
| -rw-r--r-- | export.ps1 | 1 | ||||
| -rwxr-xr-x | export.sh | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,7 @@ if ($LASTEXITCODE -ne 0) { # Build succeeded # Export if (cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter) { + Remove-Item -Path src\data\compile_info.rs -ErrorAction SilentlyContinue ISCC /Q .\setup\windows\setup_jv_cli.iss } } @@ -5,5 +5,8 @@ # Build if cargo build --workspace --release; then # Export - cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter + 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 + fi fi |
