# Builds ZIP for every skill and .mcpb when skills\\extension\ exists. # Usage: scripts\package-all.ps1 . (Join-Path $PSScriptRoot 'lib.ps1') & (Join-Path $PSScriptRoot 'package.ps1') if ($LASTEXITCODE -ne 0) { exit 1 } foreach ($n in (Get-SkillNames)) { $ext = Join-Path (Join-Path $SkillsDir $n) 'extension\manifest.json' if (Test-Path $ext) { & (Join-Path $PSScriptRoot 'package-mcpb.ps1') -Name $n if ($LASTEXITCODE -ne 0) { exit 1 } } }