BuildScripts/Diagnostics/diag.build.configuration.build.ps1


#synopsis: Output the Build Configuration settings for debugging / tracing
task diag.build.configuration {
    logDebug 'Build Configuration:'
    $config = $BuildInfo
    foreach ($key in $config.Modules.Keys) {
        $config.Modules[$key].SourceInfo = "Removed for format"
    }
    Write-Build Gray ($config | ConvertTo-Psd -Indent 2 | Out-String)
    Write-Build Gray "$('-' * 80)"
}