init
This commit is contained in:
15
scripts/smoke.ps1
Normal file
15
scripts/smoke.ps1
Normal 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
|
||||
Reference in New Issue
Block a user