Spaces:
Sleeping
Sleeping
| # GSD Master Validation Script | |
| # Runs all validators and reports overall status | |
| $TotalErrors = 0 | |
| Write-Host "" | |
| Write-Host "βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ" -ForegroundColor Magenta | |
| Write-Host "β GSD βΊ RUNNING ALL VALIDATORS β" -ForegroundColor Magenta | |
| Write-Host "βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ" -ForegroundColor Magenta | |
| Write-Host "" | |
| # Run workflow validator | |
| Write-Host "βΆ Running workflow validation..." -ForegroundColor Cyan | |
| & "$PSScriptRoot\validate-workflows.ps1" | |
| if ($LASTEXITCODE -ne 0) { $TotalErrors++ } | |
| Write-Host "" | |
| # Run skill validator | |
| Write-Host "βΆ Running skill validation..." -ForegroundColor Cyan | |
| & "$PSScriptRoot\validate-skills.ps1" | |
| if ($LASTEXITCODE -ne 0) { $TotalErrors++ } | |
| Write-Host "" | |
| # Run template validator | |
| Write-Host "βΆ Running template validation..." -ForegroundColor Cyan | |
| & "$PSScriptRoot\validate-templates.ps1" | |
| if ($LASTEXITCODE -ne 0) { $TotalErrors++ } | |
| Write-Host "" | |
| # Summary | |
| Write-Host "βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ" -ForegroundColor Magenta | |
| Write-Host "β SUMMARY β" -ForegroundColor Magenta | |
| Write-Host "βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ" -ForegroundColor Magenta | |
| Write-Host "" | |
| if ($TotalErrors -eq 0) { | |
| Write-Host "β All validators passed!" -ForegroundColor Green | |
| exit 0 | |
| } else { | |
| Write-Host "β $TotalErrors validator(s) failed" -ForegroundColor Red | |
| exit 1 | |
| } | |