publish-local
Rebuild and publish the local ps-bash exe for testing in opencode
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Rebuild and publish the local ps-bash exe for testing in opencode
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Run the release-blocking Pester gate (tests/PsBash.Tests.ps1) the reliable way — build cmdlets, refresh beside-module DLLs, isolate PSModulePath from a stale installed PsBash, run Invoke-Pester.
Use (or extend) the shared PsBuild PowerShell-text builder and the OS-interface FileSystemHelpers/RunChildProcess helpers instead of hand-rolling PS strings or platform branches
Add a new bash command to the ps-bash transpiler and runtime
Add new grammar production to the bash parser (new token, AST node, or syntax)
Debug a bash command that produces wrong output or crashes in ps-bash
Audit one bash feature against the QA rubric and write its section into docs/testing/interactive-parity-audit.md
| name | publish-local |
| description | Rebuild and publish the local ps-bash exe for testing in opencode |
| disable-model-invocation | true |
文言:測試→publish release(AOT關)→清 module-* 快取→驗證。或逕用 install-local.ps1。
Rebuild the local ps-bash binary. (Or just pwsh install-local.ps1 — it does build + test + deploy.)
./scripts/test.sh — abort on failure.dotnet publish src/PsBash.Shell -c Release -r win-x64 -p:PublishAot=false --self-contained (AOT off: no vswhere here). → src/PsBash.Shell/bin/Release/net10.0/win-x64/publish/ps-bash.exe.rm -rf "$TEMP/ps-bash/module-*".dotnet run --project src/PsBash.Shell -- -c 'echo hello'. (exe used by ~/work/opencode/ps-code.ps1.)