diff --git a/final_check.ps1 b/final_check.ps1 index 2aac871..c26b237 100644 --- a/final_check.ps1 +++ b/final_check.ps1 @@ -1,6 +1,6 @@ Write-Host "=== EDGE-TINYML PRODUCTION READINESS CHECK ===" -ForegroundColor Cyan - = @( +$files = @( "scripts/production_logger.py", "scripts/metrics_exporter.py", ".github/workflows/ci.yml", @@ -10,22 +10,20 @@ "tests/perf/windows_optimized_bench.py" ) - = True -foreach ( in ) { - if (Test-Path ) { - Write-Host " ✅ " -ForegroundColor Green +$allPresent = $true +foreach ($file in $files) { + if (Test-Path $file) { + Write-Host " ✅ $file" -ForegroundColor Green } else { - Write-Host " ❌ " -ForegroundColor Red - = False + Write-Host " ❌ $file" -ForegroundColor Red + $allPresent = $false } } -if () { - Write-Host " -🎯 ALL SYSTEMS READY FOR PRODUCTION!" -ForegroundColor Green +if ($allPresent) { + Write-Host "`n🎯 ALL SYSTEMS READY FOR PRODUCTION!" -ForegroundColor Green } else { - Write-Host " -⚠️ Some files missing" -ForegroundColor Yellow + Write-Host "`n⚠️ Some files missing" -ForegroundColor Yellow } Write-Host "