Skip to content

Commit

Permalink
Add error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffman committed Mar 2, 2019
1 parent ecd1aaa commit 9815855
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,17 @@ Function Create-Patch([string]$path1, [string]$path2, [string]$output_path)
}

.\build-tools.ps1
if ($LASTEXITCODE -ne 0) { exit -1 }

New-BlankFile $input_rom_file 16777216 0

.\build.ps1
if ($LASTEXITCODE -ne 0) { exit -1 }

Copy-Item $output_rom_file -Destination $output_rom_file_zeros
New-BlankFile $input_rom_file 16777216 255

.\build.ps1
if ($LASTEXITCODE -ne 0) { exit -1 }

Create-Patch $output_rom_file $output_rom_file_zeros $output_ips_file

0 comments on commit 9815855

Please sign in to comment.