Spaces:
Sleeping
Sleeping
File size: 2,014 Bytes
cc38116 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # 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
}
|