first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
param([string]$Iscc = "ISCC.exe")
|
||||
$ErrorActionPreference = 'Stop'
|
||||
Push-Location "$PSScriptRoot/.."
|
||||
try {
|
||||
cargo build --release --locked
|
||||
if ($LASTEXITCODE) { throw 'Release build failed' }
|
||||
New-Item -ItemType Directory -Force dist | Out-Null
|
||||
Copy-Item target/release/himage.exe dist/HImage.exe
|
||||
& $Iscc platform/windows/installer.iss
|
||||
if ($LASTEXITCODE) { throw 'Installer build failed' }
|
||||
} finally { Pop-Location }
|
||||
Reference in New Issue
Block a user