16 lines
337 B
PowerShell
16 lines
337 B
PowerShell
$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
|