Import Amiga applications and desktop tools

This commit is contained in:
Alberto committed 2026-11-11 16:21:50 +01:00
commit 1c144c9a3c
347 files changed
+423483

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
param([Parameter(Mandatory=$true)][string]$Toolchain)
$ErrorActionPreference='Stop'
& "$PSScriptRoot/build.ps1" -Toolchain $Toolchain
$oldVBCC=$env:VBCC
$oldPath=$env:PATH
try {
$env:VBCC=Join-Path $PSScriptRoot 'build/vbcc'
$env:PATH=(Join-Path $Toolchain 'bin')+';'+$env:PATH
& (Join-Path $Toolchain 'bin/vc.exe') +boing -O2 -c99 -o "$PSScriptRoot/build/CoreTests" "$PSScriptRoot/core-tests.c" "$PSScriptRoot/terminal.c"
if($LASTEXITCODE -ne 0){throw 'Test build failed.'}
& (Join-Path $Toolchain 'bin/vc.exe') +boing -O2 -c99 -o "$PSScriptRoot/build/BellTest" "$PSScriptRoot/bell-smoke.c"
if($LASTEXITCODE -ne 0){throw 'Bell test build failed.'}
} finally {$env:VBCC=$oldVBCC;$env:PATH=$oldPath}