diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-24 03:56:35 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-24 04:31:03 +0800 |
| commit | 4c77a05993d40c42ebe78c1d3a72f8049f360982 (patch) | |
| tree | 81df02103be28bc88c0ff89f1857852255bdb32c /dev_deploy.ps1 | |
| parent | b32a021c2d5075303f5987e702c9df83e7c365e7 (diff) | |
Move deployment scripts to scripts/dev directory
Diffstat (limited to 'dev_deploy.ps1')
| -rw-r--r-- | dev_deploy.ps1 | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev_deploy.ps1 b/dev_deploy.ps1 deleted file mode 100644 index 8e9bff0..0000000 --- a/dev_deploy.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -# Require : Cargo (Rust) - -# Set location to script directory -$scriptPath = $MyInvocation.MyCommand.Path -$scriptDir = Split-Path $scriptPath -Parent -Set-Location $scriptDir - -# Build -$env:FORCE_BUILD=$(Get-Date -Format 'mm') -cargo build --workspace -if ($LASTEXITCODE -ne 0) { - # Build failed -} else { - # Build succeeded - # Export - 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 - } -} |
