This commit is contained in:
Oli Passey
2026-02-21 17:31:10 +00:00
commit b63d094c70
7 changed files with 1218 additions and 0 deletions

8
scripts/serve.ps1 Normal file
View File

@@ -0,0 +1,8 @@
$python = Get-Command python -ErrorAction SilentlyContinue
if (-not $python) {
Write-Host "Python not found. Open index.html directly in a browser." -ForegroundColor Yellow
exit 1
}
Write-Host "Starting local server at http://localhost:8000" -ForegroundColor Green
python -m http.server 8000

15
scripts/smoke.ps1 Normal file
View File

@@ -0,0 +1,15 @@
$files = @("index.html", "styles.css", "app.js", "README.md")
$missing = @()
foreach ($file in $files) {
if (-not (Test-Path $file)) {
$missing += $file
}
}
if ($missing.Count -gt 0) {
Write-Host "Missing files: $($missing -join ', ')" -ForegroundColor Red
exit 1
}
Write-Host "Smoke check passed." -ForegroundColor Green