Files
rudi 59925c2787
Build and Test j3270 / Build JAR & Run Tests (Java 17) (push) Successful in 34s
Build and Test j3270 / Build JAR & Run Tests (Java 11) (push) Successful in 42s
Build and Test j3270 / Build JAR & Run Tests (Java 21) (push) Successful in 1m13s
Release j3270 / Build & Publish Release (push) Successful in 1m8s
Add headless server and setup script
2026-09-08 11:38:38 -04:00

32 lines
759 B
PostScript

<#
.SYNOPSIS
j3270 Terminal Emulator - Setup and Build Script (PowerShell Entrypoint)
Forwards execution directly to setup.ps1 with all supplied parameters.
.DESCRIPTION
See setup.ps1 for full implementation, parameter definitions, and documentation.
#>
[CmdletBinding()]
param (
[switch]$Run,
[switch]$Test,
[switch]$Clean,
[switch]$Help,
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$RunArgs
)
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
if (-not $scriptDir) {
$scriptDir = Get-Location
}
$ps1Script = Join-Path $scriptDir "setup.ps1"
if (Test-Path $ps1Script) {
& $ps1Script @PSBoundParameters @RunArgs
} else {
Write-Error "setup.ps1 not found in $scriptDir"
exit 1
}